AholaBan
This is a server ban plugin, created for AholaCraft.com server.
It includes ALL the history of user's bans. You can search the ban by it's ID.
When user is banned, he recieves ban ID, later on, you can /getban ID to get all information about that ban.
You have to configure MySQL database to make it work, if you haven't already. This is a good tutorial for running server on windows:
http://www.youtube.com/watch?v=TlzOmWXCm6I
I use same software as well to locally test and debug plugins.
=== COMMANDS ===
/ban <player> <reason> - Ban a player (Reason IS required)
/unban <player> - Unban a player
/checkban <player> - Get ALL bans and ALL information about player's bans (if they exist)
/getban <id> - Get ALL information about that ban
=== PERMISSIONS ===
aholaban.ban
aholaban.unban
aholaban.checkban
aholaban.getban
I think permissions pretty much explain them selves.
Developed for AholaCraft.com
-
View User Profile
-
Send Message
Posted Jul 15, 2012@Eero911
Nah, no tempban for now. But I will implement messages (Which will be able to be turned off)
-
View User Profile
-
Send Message
Posted Jul 15, 2012@Eero911
No temp banning, we wanted to make this as simple plugin as possible.
Try ultrabans if you want more features, the simplest, the best :)
-
View User Profile
-
Send Message
Posted Jul 11, 2012Finally good banning plugin!, But can you make mode features like ban broadcasting. And is there tempban?
-
View User Profile
-
Send Message
Posted Jul 6, 2012@suomenlippis
It's like my 3rd, so I'm still a starting to develop, trying to learn NPC stuff now :) This is my first published plugin, you might take a look at it: http://dev.bukkit.org/server-mods/gold2exp/ ;) There is also another project, which was not yet released, but it will be soon.
@Alexcityoffun
Like weja93 said, you have to have MySQL database, it's not hard to set it up if you haven't done it already. Flatfile is too slow and there are many restrictions/complications.
-
View User Profile
-
Send Message
Posted Jul 6, 2012@suomenlippis No, it was requested by me because every ban plugin either has too many features or then it simply does not work. I like this plugin because it's mySQL and with only banning, no fuss with anything else :)
-
View User Profile
-
Send Message
Posted Jul 6, 2012@Alexcityoffun
You have to configure the mySQL database. This is found in /plugin/AholaBan/config.yml Set the mySQL port, database name, user and password to make it work.
This plugin requires mySQL, there is no flatfile support.
-
View User Profile
-
Send Message
Posted Jul 5, 2012There is ban plugins everywhere. I just looked this is nice plugin. I think this was your first plugin?
-
View User Profile
-
Send Message
Posted Jul 5, 2012Not working....
18:19:30 [INFO] [AholaBan] Enabling AholaBan v1.1 18:19:30 [INFO] [AholaBan] Loading Config files ... 18:19:30 [INFO] [AholaBan] Loading Config files completed! 18:19:30 [INFO] [AholaBan] Connecting to MySQL database ... 18:19:32 [INFO] [AholaBan] Could not connect to MySQL database, 18:19:32 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 18:19:32 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 18:19:32 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 18:19:32 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 18:19:32 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 18:19:32 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 18:19:32 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) 18:19:32 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) 18:19:32 [SEVERE] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334) 18:19:33 [SEVERE] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) 18:19:33 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) 18:19:33 [SEVERE] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) 18:19:33 [SEVERE] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 18:19:33 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 18:19:33 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 18:19:33 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 18:19:33 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 18:19:33 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 18:19:33 [SEVERE] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) 18:19:33 [SEVERE] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) 18:19:33 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 18:19:33 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 18:19:33 [SEVERE] at com.aholacraft.lololmaker.aholaban.AholaSQL.open(AholaSQL.java:30) 18:19:33 [SEVERE] at com.aholacraft.lololmaker.aholaban.AholaBan.onEnable(AholaBan.java:37) 18:19:33 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) 18:19:33 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) 18:19:33 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 18:19:33 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) 18:19:33 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) 18:19:33 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381) 18:19:33 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368) 18:19:33 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197) 18:19:33 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) 18:19:33 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 18:19:33 [SEVERE] Caused by: java.net.ConnectException: Connection refused: connect 18:19:33 [SEVERE] at java.net.DualStackPlainSocketImpl.connect0(Native Method) 18:19:33 [SEVERE] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 18:19:33 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 18:19:33 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 18:19:33 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 18:19:33 [SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source) 18:19:33 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source) 18:19:33 [SEVERE] at java.net.Socket.connect(Unknown Source) 18:19:33 [SEVERE] at java.net.Socket.connect(Unknown Source) 18:19:33 [SEVERE] at java.net.Socket.<init>(Unknown Source) 18:19:33 [SEVERE] at java.net.Socket.<init>(Unknown Source) 18:19:33 [SEVERE] at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) 18:19:33 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) 18:19:33 [SEVERE] ... 26 more 18:19:34 [INFO] [AholaBan] Could not connect to MySQL database, 18:19:34 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 18:19:34 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 18:19:34 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 18:19:34 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 18:19:34 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 18:19:35 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 18:19:35 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) 18:19:35 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343) 18:19:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334) 18:19:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371) 18:19:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163) 18:19:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794) 18:19:35 [SEVERE] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) 18:19:35 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 18:19:35 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) 18:19:35 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 18:19:35 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source) 18:19:35 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 18:19:35 [SEVERE] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378) 18:19:35 [SEVERE] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) 18:19:35 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 18:19:35 [SEVERE] at java.sql.DriverManager.getConnection(Unknown Source) 18:19:35 [SEVERE] at com.aholacraft.lololmaker.aholaban.AholaSQL.open(AholaSQL.java:30) 18:19:35 [SEVERE] at com.aholacraft.lololmaker.aholaban.AholaSQL.checkConnection(AholaSQL.java:56) 18:19:35 [SEVERE] at com.aholacraft.lololmaker.aholaban.AholaSQL.createHistoryTable(AholaSQL.java:68) 18:19:35 [SEVERE] at com.aholacraft.lololmaker.aholaban.AholaBan.onEnable(AholaBan.java:39) 18:19:35 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) 18:19:35 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) 18:19:35 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 18:19:35 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) 18:19:35 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) 18:19:35 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381) 18:19:35 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368) 18:19:35 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197) 18:19:35 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) 18:19:35 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 18:19:35 [SEVERE] Caused by: java.net.ConnectException: Connection refused: connect 18:19:35 [SEVERE] at java.net.DualStackPlainSocketImpl.connect0(Native Method) 18:19:35 [SEVERE] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 18:19:35 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 18:19:35 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 18:19:35 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 18:19:35 [SEVERE] at java.net.PlainSocketImpl.connect(Unknown Source) 18:19:35 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source) 18:19:35 [SEVERE] at java.net.Socket.connect(Unknown Source) 18:19:35 [SEVERE] at java.net.Socket.connect(Unknown Source) 18:19:35 [SEVERE] at java.net.Socket.<init>(Unknown Source) 18:19:35 [SEVERE] at java.net.Socket.<init>(Unknown Source) 18:19:35 [SEVERE] at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254) 18:19:35 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292) 18:19:35 [SEVERE] ... 28 more 18:19:35 [SEVERE] Error occurred while enabling AholaBan v1.1 (Is it up to date?) java.lang.NullPointerException at com.aholacraft.lololmaker.aholaban.AholaSQL.createHistoryTable(AholaSQL.java:71) at com.aholacraft.lololmaker.aholaban.AholaBan.onEnable(AholaBan.java:39) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:381) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:368) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:197) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
-
View User Profile
-
Send Message
Posted Jul 4, 2012@suomenlippis
How can you tell if it's nice if you haven't even tried it yet ? :P I'm from Slovenia.
-
View User Profile
-
Send Message
Posted Jul 4, 2012Nice plugin! Where are you from?