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.
How do I change it to english ?
@SimbaZockt
oh im really sorry to that, i work on my version 1.5 many fix and feature like auto build a sign front of the portal and uuid support. Please by patient :)
large and lowercase letters are ignored from you plugin.
So when my world called "Flat" and i ban someone in "Flat" he is not banned because the config file wirte "flat" in lowercase
Please fix this for me :)
In my opinion but you can obviously just add the permission node -multiverse.portal.access.[portalname] to that person :/
So sweet Plugin, i want to see more from you!! ;) This is the best plugin with multiverse!
Version 1.3 in coming ;)
yep new version 1.2 is out! sorry for retard :P
i work hard on my new version and i added and tested tp and mvtp to player and its work fine ;) so by patient my next release come soon :P
@LegitCrafter
no because on my server i dont use the perm to tp to multiworld :| and my plugin take only the event MVPortalEvent :) maybe i can add this in the next version ;)
What happens if someone (players) tp them to the world? Will this plugin block this process?
Version 1.1
already :P
@Koowluh
ya but im to lazy to add perm and my moderators dont have acces to perm cmd and file so my plugin is easy way to do that ;)
As an alternative; You could just add permission based world travel to multiverse and omit the permissions to players/groups that you don't want to access the world in question. No plugin or extra strain from that plugin needed.