Published Sep 25th, 2016, 9/25/16 6:17 am
- 1,901 views, 1 today
- 126 downloads, 0 today
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!
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 the warnings:
SuperWarnAPI.getWarnings(String player)
Example:
SuperWarnAPI.getWarnings("Thomas_muur")
resetWarnings:
SuperWarnAPI.resetWarnings(String player);
Example:
SuperWarnAPI.resetWarnings("Thomas_muur");
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
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)
/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.
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");
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)
!!! 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)
Progress | 100% complete |
Game Version | Minecraft 1.9 |
Tags |
tools/tracking
3801142
7
plugin-superwarn-3801142
Create an account or sign in to comment.
oh em g i fixed your bug for you:
if(warnings > 2) {
return;
}