kokumaji / warrior-plugin

1 stars 0 forks source link

Warrior Plugin Logo

About this Project

Warrior is a fully customizable, class-based competitive FFA plugin. Its easy to understand commands & integrated script system allows you to add/remove content as you wish!

Features

Commands

Arena Command

Command Permission Description
/arena create <Arena> warrior.arena.create Starts the Arena Builder Session
/arena flags <Arena> warrior.flags.list Lists all flags set for this arena
/arena join <Arena> warrior.arena.join Teleports the player to an arena
/arena leave warrior.arena.leave Teleports the player back to the lobby
/arena rate <Arena> <1-5> warrior.arena.rate Allows the player to review an arena
/arena remove <Arena> warrior.arena.remove Deletes an arena from disk
/arena setup <pos1, pos2, spawn, confirm, cancel> warrior.arena.setup Allows for command-based interaction within the arena setup process
/arena spectate <Arena> warrior.arena.spectate Teleports the player to an arena with spectator mode enabled.

Kit Command (WIP)

NOTE This command is experimental and should not be used in its current state, unless you know what you're doing.

Command Permission Description
/kit create <Name> warrior.command.kit Experimental Creates a custom kit from the players inventory.

(Creates a JSON file at data/kits/<name>.json for further customization)

Warrior Command

Command Permission Description
/warrior about warrior.command.admin Displays information about the plugin
/warrior help warrior.command.admin Displays useful commands & instructions
/warrior hologram <stats, leaderboard> TBA TBA
/warrior setlobby warrior.command.setlobby Sets the lobby spawn to the players position (lobby-settings.custom-spawn needs to be set to true in the plugin config)
/warrior reload <language, config, database> warrior.command.reload Reloads the plugin config, language files or database connection

Language & Formatting

PlaceholderAPI Support!

This plugin features full PlaceholderAPI support and a lot of placeholders!

Player-Related Placeholders

%warrior_player_name%
%warrior_player_uuid%
%warrior_player_timeplayed%
%warrior_player_firstjoin%
%warrior_player_ping%
%warrior_player_title%
%warrior_player_deathsound%
%warrior_player_kills%
%warrior_player_deaths%
%warrior_player_kdr%
%warrior_player_coins%
%warrior_player_arena%

Arena-Related Placeholders

%warrior_arena_name%
%warrior_arena_id%
%warrior_arena_flags%
%warrior_arena_rating%
%warrior_arena_creator%
%warrior_arena_timestamp%
%warrior_arena_description%

Conditional Placeholders

Ever wanted to display information, but only if a certain condition is met? With Warrior's internal placeholder system, this is now possible! Simply put placeholders in this format {CONDITION|"IF TRUE"|"IF FALSE"} anywhere you want and Warrior will replace the text for you!

Predefined Conditions

Custom Conditions (WIP)

Future versions will allow you to "code" your very own conditional placeholders, using simple math operations.