gBan
Have you ever wanted a global banning solution in minecraft? Yes, yes you have. You can't deny it. Stop lying to yourself. With gBan, not only can you now integrate it into your website, but it is the latest and #1 solution for banning and muting across your server network!
Information
gBan utilizes the great power of MySQL; this allows you to ban and mute players across all your servers by connecting them to just one of your MySQL servers. You can have unlimited amount of servers, but only need one MySQL database.
Web Integration
We now have integrated a very great feature, web integration! If you host or own a website, you can upload less than 10 files to have a beautiful ban and mute page. Featuring a stylish black and white design, you will always have the visitors attention! Click here to get started with web integration.
Getting Started
To get started with gBan, please download the latest file from the right. Once you have downloaded it, please put it into your plugin directory (server/plugins/). Now, run the server for the first time. Once the server has started, it will create the config and disable the plugin . Navigate to your plugins directory, and select the gBan folder. Within this folder, please open up the config.yml (server/plugins/gban/config.yml). Now you have done this, please edit the file so it can connect to your mysql server. It should look something like this:
This config is for 2.0; it applies to 2.2 and 2.5.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # +----------------------------------------------------+ # < gBan Config File > # < Version 2.0 > # < Created By Tayler King > # +----------------------------------------------------+ # This is the host address for your MySQL server. # Note: If your MySQL server is not local, you must set it to # allow external connections. host: jdbc:mysql://localhost:3306/ # This is the database name for your MySQL server. We highly # suggest you use gBan, but it is up to you. database: gBan # This is the user name for your database. We highly # suggest you avoid using root, but it is up to you. username: root # This is the password for your database. We highly # suggest you use gBan, but it is up to you. password: password |
Once you have finished editing this file, please save and close it. You can now reload the server. If there are no errors, you are good to go.
Commands And Permissions
Permission | Syntax | Usage |
---|---|---|
gban.ban | /gban <player> [reason] | Globally bans [player] (Optional: [reason]) |
gban.unban | /gunban <player> | Globally unbans [player] |
gban.banlist | /gbanlist | Shows list of all banned players |
gban.tempban | /gtempban <player> [time] [reason] | Globally bans [player] (Optional: [time] [reason]) |
gban.mute | /gmute <player> <time> | Globally mutes [player] for [time] |
gban.unmute | /gunmute <player> | Globally unmutes [player] |
Metrics
This plugin utilises Hidendra’s plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server’s version of Java
- Whether the server is in offline or online mode
- The plugin’s version
- The server’s version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
If you wish to disable this feature (me cries), you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/
Source
@Nickbbeezy
No, it does not store the person who banned the user's name.
Does the bans web integration come with a feature to show who banned the player?
@michalet
It has temp mute and I don't really work on this anymore.
Could you add tempmute and (temp)ipban for the plugin, and a player lookup for the web part?
Looks promising :)
Your MySQL host many not allow external connections. Check with them.
@MCMedia
yes i am sure that they are correct, anyway thanks for helping.
@xDizasterCYx
I might make a video; if I get time. Have you entered the correct web details in settings.php? Check with your MySQL host to see what the correct details are.
@xDizasterCYx
it's ok, i finally do it, i set up the sql but i have a problem with Web take a look: http://excabans.comuv.com/Web/ MySql Error?
why?
could you make a video how to use it with sql, if you can it will help a lot
@xDizasterCYx
This is primarily MySQL due to the fact that it's a global banning system. It needs to be MySQL otherwise the servers cannot contact other servers.
could you make mysql option enable or disable?
@kompostak99
Added.
can u add /mute and /warn commands?_
308 downloads in just over two days! Thanks guys!
@mrchasez
I'm currently working on implementing an update checker.. That is next on my list ;) Thanks for the suggestion.
@MCMedia
Any chance on adding IPbans?
@djz07728
Thanks for the feedback.
I think this is a really interesting plugin. I would love to author for the project, although I admit I don't have very much time right now.
Version 1.9 has been accepted. Temp bans!