forked from whoami-plugins/EasyBan
-
Notifications
You must be signed in to change notification settings - Fork 0
Ban plugin for EasyBan
License
Bukkitupdate/EasyBan
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
## Installation ## Copy the EasyBan.jar to your craftbukkit plugins folder ## Configuration ## ### Country ban support ### Install this plugin: http://forums.bukkit.org/threads/27620/ ### HSQLDB ### To use the HSQL database download http://stuff.whoami.org.uk/hsqldb/hsqldb.jar. Create a "lib" directory in your server root and copy the downloaded file to that directory. Open the config.yml in plugins/EasyBan/ and replace "database: yaml" with database: hsql ### MySQL ### To use MySQL as data backend download <http://dev.mysql.com/downloads/connector/j/>. In that zip archive is a "mysql-connector-java-${VERSION}-bin.jar" file. Rename that file to "mysql-connector-java-bin.jar" and move it to the "lib" directory in your craftbukkit root folder. When the "lib" folder doesn't exist create it. Now create a database with a name of your choice. Open the config.yml in plugins/EasyBan/ and replace "database: yaml" with "database: mysql". Additionally you have to add these 5 settings: schema: 'XYZ' # database name(when not given it defaults to 'easyban') host: 'XYZ' # MySQL Server address port: 'XYZ' # MySQL Server port username: 'XYZ' # MySQL user password: 'XYZ' # password for that user ### Custom messages ### After the first start you'll find a messages.yml in "plugins/EasyBan/". To edit a message just change the part right of the ":". ### Permissions ### easyban.${command} (e.g. easyban.ekick) ## Usage ## /ekick playername - Kick a player /ehistory playername - List all ips of a player /ealternative playername - List all nicknames used by a player /eban playername [reason] [time] - Ban a player. When time is given the player will be banned for [time] minutes /eunban playername - Unban a player /ebaninfo playername - Show informations about a ban /elistbans - List all banned players /elisttmpbans - List all temporary bans /ebansubnet networkprefix/subnetmask [reason] - Ban a subnet(e.g. /esubnetban 24.64.23.0/255.255.252.0 or 24.64.23.0/22 or 2001:470:1f09:e26::/64) /eunbansubnet networkprefix/subnetmask - Unban a subnet /elistsubnets - List all banned subnets /ebancountry countrycode - Ban a country(Country codes can be found here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) /eunbancountry countrycode - Unban a country /elistcountries - List all banned countries /ewhitelist playername - Whitelist a player; Useful when a range ban hits an innocent /eunwhitelist playername - Remove player from whitelist /elistwhite - List all whitelisted players ## License: ## https://www.apache.org/licenses/LICENSE-2.0.html
About
Ban plugin for EasyBan
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published