@Override
public String getName() {
return "test";
}
@Override
public void execute(Player target) {
target.sendMessage("Test")
}
}
Code (Text):
public void onEnable() {
TrollRegistry.registerTroll(new Test());
}
Code (YAML):
drunk:
time: 25
message: "&eVodka vodka!!!" blind:
time: 25
message: "&cYou are now blind!" slow:
time: 25
message: "&eYou have been slowed down!" tnt:
time: 3
dropitem:
message: '&cThe player doesn''t have anything in his hand!'
Code (YAML):
messages:
prefix: "&8[&aUltimateTroll&8]&r" no-permission: '
%prefix% &cYou don''t have permission to use this command!' player-only: "%prefix% &cYou can't use commands from console!" player-not-found: '
%prefix% &cPlayer is not online!' help-header: "&e----- UltimateTroll Commands -----" help-execute: "%prefix% &f/%cmd% execute <player> <type> &7- Execute a troll on a player" help-reload: "%prefix% &f/%cmd% reload &7- Reloads the plugin" unknown_troll: "%prefix% &cUnknown troll type!" troll_applied: "%prefix% &aApplied %troll% troll to %player%!" troll_requires_protocollib: "%prefix% &cThis troll can't be executed because ProtocolLib is not installed!" reload-success: '
%prefix% &aSuccessfully reloaded!' reload-fail: '
%prefix% &cA serious error occurred during reloading'
For support, please use only resource discussion
Terms of Service By using this plugin, you agree to the following terms, which may be updated by the author at any time.
All payments are final and non-refundable.
Redistribution or resale of this plugin is prohibited.
You are not permitted to modify, decompile, or extract any part of the plugin's source code.
Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.