RPSpawn
RPSpawn is a plugin aiming to combine the convenience of a spawn teleport with many role playing elements.Features
- Provides a /spawn teleport
- Highly customizable messages
- Customizable mechanics
Commands
- /spawn - Teleports the user to the spawn point of the world they are in.
Permissions
- rpspawn.command.spawn
Basic Configuration
- casttime : Cast time of each spawn teleport (in whole seconds) Default: 3
- cooldown : Cooldown before player can teleport to spawn again (in whole seconds) Default: 30
- itemcost : Item cost of each spawn teleport (in whole items) Default: 5
- itemid :Which item to charge for spawn teleports (id numbers only) Default: 288 (Feather)
- localcastdistance : Radius for displaying cast messages to other players (in blocks)Default: 50
- displaycasttime : Whether or not to display a second by second countdown when casting Default: false
- displaycastingtonearbyplayers : Whether or not to display local cast messages to other players Default: true
- spellname: The display name used in the messaging configuration Defaults: "Spawn Gate"
Economy Configuration - Requires Vault
- economyenabled : Whether or not to charge for spawn teleportsDefault: true
- currencycost : Cost of each spawn teleport (withdrawn via Vault) Default: 1
Messaging Configuration
Each message can be completely rewritten to your personal needs, using codes to insert certain values into the messages, as follows:- %sn = spell name as defined above
- %c = cast time, as defined above
- %cc = currency cost, as defined above
- %ct = currency type, as defined by your economy plugin Defaults to "coins" if vault is not installed
- %p = casting player's name
- %im = item name of any item cost defined above
- %ic = item amount of any item cost defined above
Configurable Messages
- castmessage : Displayed to the player who is casting, when they start casting
- completionmessage: Displayed to the player who is casting, when they complete their cast
- interruptmessage: Displayed to the player who is casting if they move during casting
- cooldownmessage: Displayed if a player tries to cast while the command is still on cooldown
- cooldowncompletemessage: Displayed when a player's cooldown finishes
- externalcast: Displayed to surrounding players when a player begins casting
- insufficientfundsmessage: Displayed if a player lacks the required economy funds to cast
- insufficientcomponentssmessage: Displayed if a player lacks the required items to cast
Coming Soon
- Configurable Colors