Multiverse-Portals Ban

Hello this is my first plugin i share online, i make this plugin to ban player from my pvp world if the player is not OK ;)

The banned player can't take the portal (multiverse-portals)

that work with Portal to Portal(in other world) and portal to world

Requirements:

  • java 7
  • Multiverse-core
  • Multiverse portals

Features:

  • Ban a player from a world
  • Custom messages in config file
  • Blacklist some world in config file
  • Allow some user to enter in a world (whitelist)

Commands:

  • /mpb ban <world> <player>
  • /mpb unban <world> <player>
  • /mpb list
  • /mpb reload
New in v1.2
  • /mpb wl <World>
  • /mpb wl <World> list
  • /mpb wl <World> add <Player>
  • /mpb wl <World> del <Player>

Permissions:

  • mpb.*: Gives access to all mpb commands
  • mpb.modo: Gives access to principal mpb commands (without reload)
  • mpb.ban: Allows users to ban player from world
  • mpb.unban: Allows users to unban player from world
  • mpb.list: Allows users to see banned player from worlds
  • mpb.reload: Reload config
  • mpb.wl: access to whitelist commands
  • mpb.wl.modo: Gives access to principal whitelist
  • mpb.wl.add: add Whitelist
  • mpb.wl.del: del Whitelist
  • mpb.wl.onoff: enable or disable a Whitelist
  • mpb.wl.list: list a Whitelist
French:
msg:
  banfromworld: '&4Desoler <name> mais vous etes banni du monde <world>!'
  listempty: La Liste est vide :P
  badsyntax: '&4Mauvaise syntaxe ou vous n''avez pas la permission.'
  blacklisted: '&4Vous ne pouvez pas utiliser de ce monde!'
  alreadybanofaworld: '&4Ce joueur est deja ban d''un monde.'
  thisworldnotexist: '&4Ce monde n''existe pas.'
  nowbanned: '&4Le joueur <name> est maintenant ban du monde <world>'
  nowunbanned: '&2Le joueur <name> est maintenant unban du monde <world>'
  regenlist: '&bRegen de la liste en cours... <I>'
  thisplayerisnotbanned: '&4Ce joueur <name> n''est pas ban.'
  helpcmd: '&bVoici les commandes: (v<version>)'
  cantbanself: '&4Vous ne pouvez pas vous bannir!'
  whitelist:
    notaccess: '&4Vous n''avez pas acces a ce monde!'
    access: '&2Vous avez acces a ce monde! Bon jeu :D'
    alreadyin: '&2Ce joueur a deja acces a ce monde!'
    addplayer: '&2Le joueur <name> a maintenant acces au monde <world>'
    delplayer: '&4Le joueur <name> n''a maintenant plus acces au monde <world>'
    playernotin: '&4Le joueur <name> n''a deja pas acces au monde <world>'
    onoff: '&bLa WhiteList pour le monde <world> est <onoff>'
    disable: '&4Desactive'
    enable: '&2Active'
    empty: La WhiteList pour le monde <world> est vide
    playerlist: '&bVoici la WhiteList pour le monde <world>:'
    infos: '&bUtiliser une WhiteList pour certains mondes:'
playercantbanself: true
WorldBlacklist:
- world
English:
msg:
  banfromworld: '&4 Sorry, but you are banished from this world'
  listempty: Empty list :P
  badsyntax: '&4you don''t have permission or bad syntax.'
  blacklisted: '&4You can''t use this world!'
  alreadybanofaworld: This player is already banned in a world.
  thisworldnotexist: '&4The world doesn''t exist.'
  nowbanned: <name> is now banned from <world>
  nowunbanned: <name> is now unbanned from <world>
  regenlist: Regen list in progress ... <I>
  thisplayerisnotbanned: <name> is not banned.
  helpcmd: 'Here are the commands:'
  cantbanself: '&4You can not ban yourself!'
cantbanself: true
WorldBlacklist:
- world

Know issues:

None at the moment, but its normal if u make an error in the config file (bad setting) that reseted to default.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    51930
  • Created
    Feb 11, 2013
  • Last Released File
    Nov 12, 2015
  • Total Downloads
    9,332
  • License

Categories

Members

Recent Files