Player Warning
Hello this is my first plugin. It is called Player Warning. It allows you to warn a player if the they have broken a rule and you don't want to temp/perm ban them.
Commands
- /plw - Main command.
- /plwhelp - Displays the help page
- /plwcheck [Player name] - Displays the warnings of a player.
- /plwarn [Player Name] [reason] - Gives a reason the player is warned.
- /plwunwarn [Player name] [reason] - Deletes a warning from a player.
[] are required.
Permissions
- plw.help
- plw.warn
- plw.check
- plw.unwarn
- plw.admin
- default: op
- children:
- plw.help: true
- plw.warn: true
- plw.check: true
- plw.unwarn: true
- plw.default:
- default: true
- children:
- plw.help: true
- plw.warn: false
- plw.check: true
- plw.unwarn: false
Change Log
3.4.0 - LONG OVER DUE; sorry guys but I have had this for a while and good not remember to get it out and also was trying to work on the commands a little more, but here it is.
3.3.0 - Fixed plugin.yml error
3.2.0 - Changed the name.
3.1.0 - You can now have up to 11 words for one reason you don't need the underscore anymore.
3.0.0 - It works now. the config commands were taking out and the config file has been replaced with the warnings.yml file which you can find any warnings in it.
2.1.2-3.0.0 - Bug fixes.
2.1.1 - Think I found thou problem, hoped I fixed.
2.1.0 - Added some extra code and have hopefully killed a few more bugs. Hoped I get it working too. I am also not to for sure what I added. :D
2.0.0 - Add some commands and have hopefully killed a few bugs.
1.1.2 - Killed a few bugs (The errors that have been showing up)
1.1.1 - Nothing New (update)
1.1.0 - Added config.yml file. Warning limit can be changed in the config file and in game with /fwconfig limit [#]
1.0.0 - Nothing
Planning
nothing
Other Notes
Note: I will update all my plugins at the beginning of the year. I will update the ones that don'f require major code change first. At the current time I have no ideas of which ones will require major code update
Great idea and not too bad for your first plugin to be honest. But you have one problem here, the /sw is the same command used for the very popular Skywars plugin. I suggest changing this so your plugin can be used on those servers. 7/10 Rating.
New version I kno does not work just tried it sry I meant to try it before realesed.
Will post the update when I get access to the internet through my laptop.
@mrcrafter3000
I will take a look when I get a chance
17:45:45 [SEVERE] org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFo undException: com.yahoo.gabezter4.player_warning.Player_warning 17:45:45 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja vaPluginLoader.java:184) 17:45:45 [SEVERE] at org.bukkit.plugin.SimplePluginManager.loadPlugin(Simp lePluginManager.java:306) 17:45:45 [SEVERE] at net.skycraftmc.PluginManager.PluginControl.loadPlugin (PluginControl.java:72) 17:45:45 [SEVERE] at net.skycraftmc.PluginManager.PluginManagerPlugin.onCo mmand(PluginManagerPlugin.java:206) 17:45:45 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman d.java:44) 17:45:45 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo mmandMap.java:192) 17:45:45 [SEVERE] at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCo mmand(CraftServer.java:527) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.handleC ommand(PlayerConnection.java:976) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.chat(Pl ayerConnection.java:887) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.a(Playe rConnection.java:834) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.Packet3Chat.handle(Sourc eFile:49) 17:45:45 [SEVERE] at org.spigotmc.netty.NettyNetworkManager.b(NettyNetwork Manager.java:230) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.PlayerConnection.e(Playe rConnection.java:116) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.ServerConnection.b(Sourc eFile:37) 17:45:45 [SEVERE] at org.spigotmc.netty.NettyServerConnection.b(NettyServe rConnection.java:132) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.MinecraftServer.t(Minecr aftServer.java:594) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.DedicatedServer.t(Dedica tedServer.java:240) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.MinecraftServer.s(Minecr aftServer.java:483) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.MinecraftServer.run(Mine craftServer.java:415) 17:45:45 [SEVERE] at net.minecraft.server.v1_6_R3.ThreadServerApplication. run(SourceFile:583) 17:45:45 [SEVERE] Caused by: java.lang.ClassNotFoundException: com.yahoo.gabezte r4.player_warning.Player_warning 17:45:45 [SEVERE] at java.net.URLClassLoader$1.run(Unknown Source) 17:45:45 [SEVERE] at java.net.URLClassLoader$1.run(Unknown Source) 17:45:45 [SEVERE] at java.security.AccessController.doPrivileged(Native Me thod) 17:45:45 [SEVERE] at java.net.URLClassLoader.findClass(Unknown Source) 17:45:45 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass0(P luginClassLoader.java:80) 17:45:45 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl uginClassLoader.java:53) 17:45:45 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 17:45:45 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source) 17:45:45 [SEVERE] at java.lang.Class.forName0(Native Method) 17:45:45 [SEVERE] at java.lang.Class.forName(Unknown Source) 17:45:45 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(Ja vaPluginLoader.java:173) 17:45:45 [SEVERE] ... 19 more
Hey guys I am almost done with making it work I have the commands working now I just have to tie it and create a warnings.yml file. Almost done
@pocketkid2
If you have a certain area you dont want a faction to claim, then you give them a warning when they claim there. Eventually, the faction will run out of warnings and be disbanded.
What is the point of this plugin? The description does not give me a good idea of how this would be useful.
@soysuva
Have you tried to reinstall it?
I get this error when I start my server:
http://pastebin.com/Dbsd7eQ5
Bukkit plugins I'm using:
http://pastebin.com/8z1wPxL8
- towny advanced
- sign editor
@ulumulu1510
I took a look at my coding and it does not use the coding of FACTIONS it just uses the names......
Ok thanks for telling me
@Gabezter4
Dear developer of this plugin,
Cayorion (author of factions) is currently doing a re-write of factions, visible for everyone on github. Since I do not know where you dependencys are for factions, I advise you to keep up with the developement to ensure you don't miss changes that possibly break your code.
(Note: It's not a complete rewrite, but he is structuring and cleaning up code quite a lot. Thus your imports might screw up horribly after this change.) Regards
Ulu, tester of cayorions doing :)
Hey if anyone wants to message me their server ip so I can see how u guys are using it. That would be great.
@Gonzonman10 Nice glade I had made it recommend it to others
dude... this is just what i needed.
I will try to get it out before the end of the week sry for the wait guys.
Hey can you post a download link to the .jar so I can test it on my server? Thanks