Minecraft Mods

[Plugin] SuperWARN

  • 1,901 views, 1 today
  • 126 downloads, 0 today
  • 8
  • 1
  • 5
Thomas_muur's Avatar Thomas_muur
Level 8 : Apprentice Miner
0
Version: 1.9, 1.10

SuperWARN is a Warning plugin that is almost 100% editable, it is also very easy to edit in the config.

If you like the plugin please give me a diamond!



Config
prefix: ~3[~bSuperWARN~3]
messageforwarner: ~3You warned~b %player% ~3for ~b%reason%
messageforwarned: ~3You have been warned by~b %warner% ~3for~b %reason%
kickmessage: ~3You have been kicked caus this was your third warning! you have been warned by~b %warner% ~3for~b %reason%
getwarningsmessage: ~3Player~b %player% ~3has~b %warnings% ~3 / ~b3 ~3warnings
resetmessage: ~3Player~b %player% ~3has been resetted

Commands - Click me
Commands
/warn <player> <reason> (To warn a player)
/getwarnings <player> (Get how many warnings a player has)
/resetwarnings <player> (Set a player warnings to 0)
/superwarn (Info about the plugin and a usefull page of commands)


Permissions - Click me
Permissions
superwarn.warn (To warn a player)
superwarn.getwarnings (See how many warnings a player has)
superwarn.resetwarnings (Set a player warns to 0)
superwarn.superwarn (For the command /superwarn)
superwarn.* (Gives a player access to all the commands of the plugin)
(If you have OP you have this permissions from default.



API (Developers Only)
There is now a SuperWARN API, I didn't tested it because I hadn't the time for it but I will test it soon! it is already available (just use the plugin in your buildpath)
Get a player his warnings - Click me

Get the warnings:
SuperWarnAPI.getWarnings(String player)
Example:
SuperWarnAPI.getWarnings("Thomas_muur")

Reset a player's warnings - Click me

resetWarnings:
SuperWarnAPI.resetWarnings(String player);
Example:
SuperWarnAPI.resetWarnings("Thomas_muur");


Warn a player - Click me
warn a player:
SuperWarnAPI.warn(Player p, String reason);
Example:
SuperWarnAPI.warn(Bukkit.getPlayer("Thomas_muur"), "TestWarn");


Set a players warnings - Click me
set a players warnings:
!!! WARNING: DON'T SET IT TO 3 OR HIGHER!! THE PLUGIN WOULD GO BUG IF YOU DO THIS !!!
SuperWarnAPI.setWarnings(String player, int warnings);
Example:
SuperWarnAPI.setWarnings("Thomas_muur", 2)
Progress100% complete
Game VersionMinecraft 1.9
Tags

Create an account or sign in to comment.

1
09/26/2016 8:06 am
Level 32 : Artisan Electrician
cman3
cman3's Avatar
!!! WARNING: DON'T SET IT TO 3 OR HIGHER!! THE PLUGIN WOULD GO BUG IF YOU DO THIS !!!
oh em g i fixed your bug for you:
if(warnings > 2) {
return;
}
1
09/13/2016 5:45 pm
Level 71 : Legendary Unicorn
McHorse
McHorse's Avatar
Is it for forge, bukkit or something else?
1
09/15/2016 8:52 am
Level 8 : Apprentice Miner
Thomas_muur
Thomas_muur's Avatar
it's not exactly a modification(mod), but's a plugin for a MineCraft server. it is build on spigot but I think it will work for craftbukkit as well. if it doesn't work for craftbukkit let me know, i'l look what I can do for you.
1
09/09/2016 3:28 pm
Level 46 : Master Dragonborn
Fandyus
Fandyus's Avatar
Seems handy
1
09/11/2016 6:54 am
Level 8 : Apprentice Miner
Thomas_muur
Thomas_muur's Avatar
Thanks! if you ever got a idea how I can make it better or if you find a bug, tell me!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome