JOPHWarn
JOPHWarn - The awesome way to warn users!
What it does?
JOPHWarn is a simple plugin that is used to warn players about griefing, stealing, swearing or anything and everything.
What features does it have?
- Warn players with /warn <playername> warning
- You can view the warnings of any player
- You can define how many warnings before a user is kicked
- You can define how many warnings before a user is banned
- You can clear all of a user's warnings using a command (see below)
- 6 custom command features
- All warnings show in the console and go in your server.log file
- Players with a perm node can be notified on warnings
- Adds timestamps to warnings
- If a user already has warnings, it asks if you want to infract instead
Commands
- /warn PLAYERNAME WARNING-TEXT-HERE -warns a user
- /warnings view PLAYERNAME - shows the users warnings and who warned them
- /warnings clear PLAYERNAME - clears all of the player's warnings
- /infract PLAYERNAME WARNING-TEXT-HERE -infracts a user
- /infractions view PLAYERNAME - shows the users infractions and who infracted them
- /infractions clear PLAYERNAME - clears all of the player's infractions
- /confirm - used when you warn a user and they already have warnings, when you're asked if you want to infract instead or warn
- /deny - used when you warn a user and they already have warnings, when you're asked if you want to infract instead or warn
Viewing and clearing a user's warns/infractions is case sensitive
Permissions
- JOPHWarn.warn - Allows players to warn other users
- JOPHWarn.view - Allows players to view other users warnings
- JOPHWarn.warnings.clearall - Allows a player to clear all of a players warnings
- JOPHWarn.notify - Anyone with this permission will get notified when a player is warned
- JOPHWarn.infract - Allows players to give infractions to other users
- JOPHWarn.infractions.view - Allows players to view other users infractions
- JOPHWarn.infractions.clearall - Allows a player to clear all of a players infractions
Config
################################################ # JOPHWarn Config # ################################################ #Notify all people with JOPHWarn.notify when a player is warned/infracted notifyadmins: true #Enable kick feature? enablekick: true #The maximum amount of infractions a players gets before they are kicked kickafter: 3 #kick message kickmessage: 'Slow down, you are gonna get banz0rd' #enable ban feature? enableban: true #ban after how many infractions? banafter: 10 #Ban message banmessage: 'You have reached the maximum allowed infractions' ################################################ # JOPHWarn Custom Commands # ################################################ #!!!!! %p will be replaced with the players name !!!!!# #!!!!! %w will be replaced with the warn reason !!!!!# # Custom commands are for infractions, not warnings #enable customcommand1? enablecustom1: false #execute custom command after: custom1infractions: 5 #custom command1 (use %p for player) custom1command: 'tempban %p 1d' #enable custom command2? enablecustom2: false #execute custom 2 after custom2infractions: 2 #custom2 command (use %p for player) custom2command: 'jail %p jailname' #enable custom command3? enablecustom3: false #execute custom custom 3 after? custom3infractions: 1337 #custom3 command (use %p for player) custom3command: 'deop %p' #enable custom command4? enablecustom4: false #execute custom 4 after custom4infractions: 1337 #custom4 command (use %p for player) custom4command: 'jail %p jailname2' #enable custom command5? enablecustom5: false #execute custom 5 after custom5infractions: 1337 #custom5 command (use %p for player) custom5command: 'jail %p jailname3' #enable custom command6? enablecustom6: false #execute custom 6 after custom6infractions: 1337 #custom6 command (use %p for player) custom6command: 'jail %p jailname4'
Screenshots
-
View User Profile
-
Send Message
Posted Aug 17, 2012@hontiris1
With the current formatting of my code, they can do /warn, but they will not be able to actually warn anyone.
I will fix this for you and release it tonight
-
View User Profile
-
Send Message
Posted Aug 16, 2012There seems to be a bug, any player can do /warn even if they don't have the permissions.
-
View User Profile
-
Send Message
Posted Aug 16, 2012@rolecraft
Hmm, I will test again.
-
View User Profile
-
Send Message
Posted Aug 13, 2012Iwantedto do thesupport bit on theforum of yours but i cant<sub> site aint loadingfor me somehow.</sub>
ps:spacebar isnearly brokenD: explains why i type so dumb
I usethe latest version of bukkit+thisplugin stillgot thesame issue sadly enough.
-
View User Profile
-
Send Message
Posted Aug 13, 2012@rolecraft
I tested it, I warned myself 3 times, it saved the warnings correctly and I got kicked. Are you using the latest version?
And a reminder to everyone, if you are having issues:
Do NOT post support questions here, post them on my support forum on my site (Click tickets in the menu) (You don't need to sign up)
-
View User Profile
-
Send Message
Posted Aug 12, 2012JOP, could you perhaps take over essential-bans basicly, or accosiating your command with essentials? I use essentials to ban people, works fine. BUT the actuall ingame command doesnt desire exact specific reasons...
what i request basicly is :
a /tempban command which 3 things MUST be filled in, as well it can be tracked for each player in a file sortlike Warnings
/tempban playername time (1d 1h 1m 1month whatever) REASON
If i have something like that, i no longer have to keep an list manually, and hope all my moderators decide to put the name's of those who are banned on the list . And yeah if this plugin supports that and the /warn ability/logs AND /tempban/logs, it's awesome and takes ofcourse less load at the server assumingly.
ps: thanks for that fix, couldnt use the plugin :<
Edit, at the latest one i continue warning a person. But the person is not being kicked or banned, customban @ 6 warnings, kick at 3 .. O_o ?
ps: gave him about 9 warnings, and the file only shows one ( Warnings.yml that is ), could explain him not being kicked? The warnings resetting at every new warning?
-
View User Profile
-
Send Message
Posted Aug 12, 2012Updated to 1.6.3
Now has offline warning :D
-
View User Profile
-
Send Message
Posted Aug 12, 2012Add console time to warnings.yml so when someone is warned it will list the time
-
View User Profile
-
Send Message
Posted Aug 12, 2012@thudog77
Ok, I will make it configurable. Also, a version that allows warning of offline players will be out soon!!
-
View User Profile
-
Send Message
Posted Aug 12, 2012Can you make it so admins are informed when player is warned by admin?
-
View User Profile
-
Send Message
Posted Aug 11, 2012@rolecraft
Fixed in the next update (awaiting approval)
-
View User Profile
-
Send Message
Posted Aug 11, 20122012-08-11 15:13:55 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'warn' in plugin JOPHWarn v1.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.jophestus.JOPHWarn.JOPHWarn.onCommand(JOPHWarn.java:96) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more
Issue ? D: Using recommended 1.3.1, both bukkit as this plugin.
-
View User Profile
-
Send Message
Posted Aug 11, 2012Next update will have some cool new features / changes :D
-
View User Profile
-
Send Message
Posted Aug 11, 2012@Dathmineboy
No. Thank you for suggesting it. Without all the suggestions this plugin would be nothing. And a special thanks to everyone who has downloaded and used it :)
-
View User Profile
-
Send Message
Posted Aug 11, 2012Everyone loves the idea of custom commands :D! My idea muwhah ":P
Thanks for adding it now its usefull for my server <3
-
View User Profile
-
Send Message
Posted Aug 10, 2012@MCagrogan
There is a config.yml... and there has been for a long time now :P I am going to assume you're running an older version? If so, please update to get maximum features :)
-
View User Profile
-
Send Message
Posted Aug 10, 2012you need to make a config.yml file so you can change certain parts of it please do that :D
-
View User Profile
-
Send Message
Posted Aug 10, 2012@GlabbichRulz
Just added that in. Still awaiting approval though.
Updated to 1.6
-
View User Profile
-
Send Message
Posted Aug 7, 2012@GlabbichRulz
Oh crap, someone asked me to add more and I forgot :P But I can definitely add 6, I don't know how I'd go about adding unlimited :P At the moment MySQL is not an option as I do not know how to yet :P I will add this weeked.
-
View User Profile
-
Send Message
Posted Aug 6, 2012Can you add 6 custom commands Or even unlimited? And MySQL would bei cool!