McBansJocker
About the plugin
This system is an advanced minecraft admin tool, which allows admins to ban, unban, kick, mute and unmute players and automatically save the data in a database, which can be adjusted in the config. This data which is stored in the database, will show up in the website system, which comes with the files. This system will allow you to configure the site by being able to change access to the database and minecraft server information.
Commands
- /ban
- /bano
- /unban
- /kick
- /mute
- /unmute
Permissions
- - mcbansjocker.ban (Able to use /ban command - ban a player)
- - mcbansjocker.bano (Able to use /bano command - ban offline player)
- - mcbansjocker.unban (Able to use /unban command - unban a player)
- - mcbansjocker.kick (Able to use /kick command - kick a player)
- - mcbansjocker.mute (Able to use /mute command - mute a player)
- - mcbansjocker.unmute (Able to use /unmute command - unmute a player)
- - mcbansjocker.seewhojoin (Able to see if a banned player is trying to join the server)
- - mcbansjocker.advertisiment (Able to see message if someone advertise) SCREEN#1,SCREEN#2
Configuration
mysql: host: 127.0.0.1 user: user pass: pass db: db table: mc_banlist tableplayers: mc_playerhistory bans: ip: true global: prefix: '&7[&2JOCKERBANS&7]&e' lang: playernotfound: '&cError: Player not found' timenum: '&cError: Time must be numeric' hasbeenmuted: '&c[PLAYER] &ehas been muted by &c[ADMIN] &e(&c[TIME]&e)' isntmuted: '&c[PLAYER] &eisnt muted' unmute: '&c[PLAYER] &ehas been unmuted by &c[ADMIN]' havemute: '&eYou are muted &e(&c[TIME]&e)' kickmsg: '&e|You has been kicked by &c[ADMIN]|&c[REASON]' kicked: '&c[PLAYER] &ehas been kicked by &c[ADMIN] &e(&c[REASON]&e)' banmsg: '&e|You has been banned by &c[ADMIN]|&eTimeleft:&c[TIMELEFT]|&eReason:&c[REASON]' banmsg2: '&e|You are banned|&eTimeleft:&c[TIMELEFT]|&eReason:&c[REASON]' banned: '&c[PLAYER] &ehas been banned by &c[ADMIN] &efor (&c[TIME]&e), &a[REASON]' unban: '&c[PLAYER] &ehas been unbaned by &c[ADMIN]' notbanned: '&c[PLAYER] &eisnt banned!' tryjoinbanned: '&c[PLAYER] &etry to join server!' alredybanned: '&c[PLAYER] &eis alredy banned!' spam: '&c[PLAYER] &espamed &c[MSG]' spam2: '&cYour message contains advertisiment!' antiadvertisiment: enable: true regex: - .*(mc|dd2|zm|hns|cs|mc2|www)[\.,\s].*[\.,\s](lv|com|net|ez|or|ru|uk|org).* - .*(([0-1]?[0-9]{1,2}\.)|(2[0-4][0-9]\.)|(25[0-5]\.)){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5])).* action: - mute,10 - kick,Advertisiment - ban,1440,Advertisiment
Instalation
Drag & drop files into plugin folder => Start or Restart Server => Go to the plugin folder and configure the plugin => Restart server and check what answer does the server give, after the plugin has started to run; http://i.imgur.com/rUGJJKq.png
Future
- - MySQL - mute
How do you ban someone forever? Also you have two nn's on reason on the webstite :P. I absolutely adore this plugin btw :)
Edit: I figured out that you set the time to 0 to ban forever.
@BoStaffNinja
Now im not have time but ii ll when i ll have ok
Ok thanks!
@BoStaffNinja
I ll try make video in english.
if its help its in my language http://www.youtube.com/watch?v=DPBHwV96v3U
How do I setup the web based portion of the plugin? If you could explain it to me that would be great. Thanks, BoStaffNinja, Owner of MCSU Server network
@KrustyLv
if u ban player and this is true
its will not allow player join with banned ip
Banip?
@kulershk
For you works great yes?
@minin0la
Try replace localhost/127.0.0.1 with your server ip/website ip.
@minin0la
Could u give me link at pm i ll check
@kulershk
No errors and yes website hosted on the same host as server.
@minin0la
Your website is on same host as server?
@minin0la
No errors?
@kulershk
Nope, it is not working. I tried to do it again. In-game banning seem to be working fine and it saved in MySQL Database. Just that the webpage is not seem to be working.
Here are my settings again with plugins settings
[Plugin]
[Config.php]
@kulershk
Yes It was 127.0.0.1 but it did not works too. So I changed to localhost. I will watch the video. If it works I will get back to you
@minin0la
Hmm patch is correct? main::$config['patch'] = "/mcbans"; Try "localhost" replace wirh "127.0.0.1"
Idk if u understand but u can wach what im doing http://www.youtube.com/watch?v=DPBHwV96v3U
Hi, I cannot get the webpage to works. I already config the 'config.php' file to my specific MySQL. Still, the page is totally white. Here are the codes. Username and password are hidden.
@YanPerez
Ty, now i realy lot working on it.
Cool (y)