This 'Wiki Page' will serve to provide an example of the Messages.yml file included with BattleClans.
Customizable Messages:
The messages contained in the referenced Messages.yml file below, Provide a way in which Server Owners can alter the messages sent to players through BattleClans.
You can rename the sub commands of BattleClans (IE: The part that follows after /bc) by changing the CommandName value and, You can edit the description to whatever you want. Both can use any language you want.
Messages.yml (Included with BattleClans v1.7.3):
Code (Text):
###############################################################################
# Do not change the keys in this YAML file (Unless you know what you're doing),
# Doing so will cause errors. If you recieve errors in this file, Look for a YAML parser/validator online.
# Make sure you abide by YAML formatting when using special characters.
###############################################################################
Messages:
Commands:
Default:
CommandName: 'default'
Description: ''
Permission: '&fYou do not have permission for this command.&f'
Create:
CommandName: 'create'
Description: 'Creates the specified Clan'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must supply a clan to be created.&f'
Success: '&f%currentClan% has been successfully created.&f'
Failed: '&fThe specified clan could not be created.&f'
AlreadyExists: '&fThat clan already exists.&f'
DefaultClan: '&fThis name is already in use.&f'
NotDefaultClan: '&fYou must delete or, leave your existing clan first.&f'
Error: '&fAn error occured while creating your clan.&f'
ColorCodes: '&fSorry, Color Codes are not permitted.&f'
ShortName: '&fThe specified clan name is too short.&f'
LongName: '&fThe specified clan name is too long.&f'
FriendlyFire:
CommandName: 'ff'
Description: 'Enabled or, Disable Friendly Fire Mode'
Permission: '&fYou do not have permission for this command.&f'
ToggleDisabled: '&fYou are not permitted to toggle friendly fire.&f'
DefaultClan: '&fYou do not have permission to update the Default Clans tag.&f'
NotClanLeader: '&fYou must be the Clan Leader to update this clans tag.&f'
Enabled: '&fFriendly Fire is now Enabled.&f'
Disabled: '&fFriendly Fire is now Disabled.&f'
Tag:
CommandName: 'tag'
Description: 'Sets the Tag for the Clan'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must supply a new tag for the clan.&f'
Success: 'Success, Clan tag has been updated.&f'
Failed: 'Sorry, We were unable to update the clan tag.&f'
AlreadyExists: '&fThat clan tag already exists.&f'
Identical: '&fThe clan tag you supplied is already in use by the clan.&f'
Impersonation: '&fThat clan tag conflicts with another clan.&f'
Error: '&fAn error occured while updating your clan tag.&f'
ShortName: '&fThe specified clan tag is too short.&f'
LongName: '&fThe specified clan tag is too long.&f'
DefaultClan: '&fYou do not have permission to update the Default Clans tag.&f'
NotClanLeader: '&fYou must be the Clan Leader to update this clans tag.&f'
Chat:
CommandName: 'chat'
Description: 'Enter or Leave Clan Chat'
Permission: '&fYou do not have permission for this command.&f'
Enabled: '&fYou have entered %currentClan% Clan Chat.&f'
Disabled: '&fYou have exited %currentClan% Clan Chat.&f'
DefaultClan: '&fYour current clan does not permit Clan Chat.&f'
NobodyOnline: '&fNo one hears you..&f'
ClanFormat: '&a[%currentClan%] <%player%> %message%'
Admin: '&f%target% Chat Mode has been %mode%&f'
EnabledMode: '&fEnabled&f'
DisabledMode: '&fDisabled&f'
Spy:
CommandName: 'spy'
Description: 'Enable or, Disable Spy Mode'
Permission: '&fYou do not have permission for this command.&f'
Enabled: '&fSpy Mode is now Enabled.&f'
Disabled: '&fSpy Mode is now Disabled.&f'
Admin: '&f%target% Spy Mode has been %mode%&f'
EnabledMode: '&fEnabled&f'
DisabledMode: '&fDisabled&f'
Admin:
CommandName: 'admin'
Description: 'Enable or, Disable Admin Mode'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must specify a player.&f'
RequiredArgs2: '&fYou must specify a mode.&f'
Enabled: '&fAdmin Mode is now Enabled.&f'
Disabled: '&fAdmin Mode is now Disabled.&f'
Failed: '&fPlease enable Admin Mode to continue.&f'
Admin: '&f%target% Admin Mode has been %mode%&f'
EnabledMode: '&fEnabled&f'
DisabledMode: '&fDisabled&f'
Delete:
CommandName: 'delete'
Description: 'Deletes the specified Clan'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must supply a clan to be disbanded.&f'
Success: '&fSuccess, %clan% clan has been disbanded.&f'
Member: '&f%currentClan% has been disbanded.&f'
Failed: 'Sorry, We were unable to disband your clan.&f'
Error: '&fAn error occurred while trying to disband the specified clan.&f'
NotClanLeader: '&fYou must be the Clan Leader to disband this clan.&f'
DefaultClan: '&fYou do not have permission to disband the Default Clan.&f'
NotExists: '&fThe specified clan does not exist.&f'
Invite:
CommandName: 'invite'
Description: 'Invite(s) a Player to your Clan'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must specify a player to invite.&f'
DefaultClan: '&fYou cannot invite players to the Default Clan.&f'
NotClanLeader: '&fYou must be the Clan Leader or, Moderator to use this command.&f'
InvalidPlayer: '&fThe player you specified has never joined this server.&f'
ClanMember: '&fThe specified player is already a member of the Clan.&f'
AlreadyClanned: '&fYou cannot invite a player who is in another clan.&f'
OfflinePlayer: '&fThe player you specified is currently offline.&f'
Message: '&f%player% has invited you to %clan%.&f'
Delivered: '&fYour clan invite has been sent.&f'
Prompt: '&fPlease Type: %accept% or, %deny%&f'
Accept: 'accept'
Deny: 'deny'
Success: '&fYou have successfully joined %clan% clan.&f'
NotifyAccept: '&f%target% has accepted your invitiation&f'
NotifyDeny: '&f%target% has declined your invitation.&f'
NotifyLeave: '&f%target% has left your clan.&f'
Rank:
CommandName: 'rank'
Description: 'Set or, Check clan member rank.'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must specify a rank for the player.&f'
DefaultClan: '&fRank(s) cannot be retrieved from the Default Clan.&f'
ClanLeader: '&fYou cannot set your own rank.&f'
NotClanLeader: '&fYou must be the Clan Leader to use this command.&f'
NotClanMember: '&fYou must specify a valid clan member.&f'
Success: '&f%currentClan% Rank: %rank%&f'
Success2: '&fRank of %player% in %clan% clan: %rank%&f'
Failed: '&fYou must specify a valid player.&f'
Failed2: '&fYou must specify a valid rank.&f'
InvalidPlayer: '&fThe player you specified has never joined this server.&f'
LeaderRank: 'leader'
ModeratorRank: 'moderator'
MemberRank: 'member'
Who:
CommandName: 'who'
Description: 'Lookup the specified players clan.'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must specify a player.&f'
DefaultClan: '&fThe specified player does not belong to a clan.&f'
UnknownPlayer: '&f%target% has never been online.&f'
Success: '&f%target% is a member of %clan% clan.&f'
Leave:
CommandName: 'leave'
Description: 'Leave your Current Clan'
Permission: '&fYou do not have permission for this command.&f'
DefaultClan: '&fYou cannot leave the default clan.&f'
Success: '&fYou have successfully left %currentClan%.&f'
Failed: '&fSorry, We couldnt remove you from %currentClan%.&f'
Leader: '&fYou must delete your clan in order to leave.&f'
Kick:
CommandName: 'kick'
Description: 'Kick the specified Player from the Clan'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must specify a player to kick.&f'
DefaultClan: '&fYour current clan does not allow you to kick players.&f'
ClanLeader: '&fYou cannot kick the Clan Leader.&f'
NotClanLeader: '&fYou must be the Clan Leader or, Moderator to kick a member.&f'
NotClanMember: '&fThe specified player is not a member of your clan.&f'
NotifyMember: '&fYou were kicked from %clan% by %player%.&f'
NotifyPlayer: '&fYou successfully kicked %target% from %clan% clan.&f'
Error: '&f%target% could not be kicked from %clan%.&f'
Claim:
CommandName: 'claim'
Description: 'Claim land for your Clan'
Permission: '&fYou do not have permission for this command.&f'
Success: 'You have claimed X: %x%, Z: %z% for %currentClan% in %world%.'
Failed: '&fThe specified land could not be claimed.&f'
WorldClaimProhibited: '&fYou are not permitted to claim land in this world.&f'
WorldDataError: '&fCould not retrieve World Data.&f'
DefaultClan: '&fYour current clan does not allow you to claim land.&f'
AlreadyClaimed: '&fThis land is already claimed by %landowner%.&f'
NotClanLeader: '&fYou must be the Clan Leader or, Moderator to claim land.&f'
ClaimStatistics: '&f%clan% has %claims%/%maxclaims% claim(s) available.&f'
NoStatistics: '&fClaim Statistics are not available for your current clan.&f'
LimitReached: '&fYou have reached the maximum amount of claims available for your clan.&f'
Claims:
CommandName: 'claims'
Description: 'View Claim Statistics'
Unclaim:
CommandName: 'unclaim'
Description: 'Remove land, Claimed by your Clan'
Permission: '&fYou do not have permission for this command.&f'
Success: 'You have unclaimed X: %x%, Z: %z% for %clan% in %world%.'
Failed: '&fThe specified land could not be unclaimed.&f'
WorldClaimProhibited: '&fYou are not permitted to unclaim land in this world.&f'
WorldDataError: '&fCould not retrieve World Data.&f'
DefaultClan: '&fYour current clan does not allow you to unclaim land.&f'
AlreadyClaimed: '&fYou cannot unclaim land owned by %landowner%.&f'
NotClanLeader: '&fYou must be the Clan Leader or, Moderator to unclaim land.&f'
NotClaimed: '&fNobody owns this land.&f'
SetHome:
CommandName: 'sethome'
Description: 'Sets the location of the Clan Home'
Permission: '&fYou do not have permission for this command.&f'
Success: '&fClan Home has been set.&f'
Failed: '&fClan Home could not be set.&f'
NotClanLeader: '&fYou must be the Clan Leader to set the Clans Home.&f'
DefaultClan: '&fYour current clan does not permit you to set the Clans Home.&f'
NoClan: '&fYou are currently not in a clan.&f'
ClaimedLand: '&fYou cannot set your clan home in %clan% land.&f'
UnclaimedLand: '&fClan Home cannot be set in Unclaimed Land.&f'
Home:
CommandName: 'home'
Description: 'Teleport(s) a Player to the Clan Home'
Permission: '&fYou do not have permission for this command.&f'
Success: '&fTeleporting to Clan Home.&f'
Failed: '&fTeleporting to Clan Home Failed.&f'
WorldNotLoaded: '&fClan Home could not be found in the Loaded Worlds.&f'
NotSet: '&fClan Home does not exist.&f'
Help:
CommandName: 'help'
Description: 'Displays a list of commands and, their descriptions.'
Permission: '&fYou do not have permission for this command.&f'
InvalidPageNumber: '&fSorry, We could not process your request.&f'
Commands: '&fFor a list of commands, Type: /bc help&f'
Memo:
CommandName: 'memo'
Description: 'Broadcasts a message to clan members.'
Permission: '&fYou do not have permission for this command.&f'
Success: '&fCongratulations, Your clan memo has been set.&f'
DefaultClan: '&fYour current clan does not permit access to the Clans Memo.&f'
NotClanLeader: '&fYou must be the Clan Leader or, Moderator to set a Memo.&f'
MaxLength: '&fThe memo you supplied was too long.&f'
MaxLength2: '&fThe maximum character limit is %limit%.&f'
Census:
CommandName: 'census'
Description: 'Displays all members of the Players Clan'
Permission: '&fYou do not have permission for this command.&f'
DefaultClan: '&fYour current clan does not permit access to this command.&f'
InvalidPageNumber: '&fSorry, We could not process your request.&f'
Lookup:
CommandName: 'lookup'
Description: 'Displays all members of the Specified Clan'
Permission: '&fYou do not have permission for this command.&f'
InvalidPageNumber: '&fSorry, We could not process your request.&f'
RequiredArgs: '&fYou must specify a clan to lookup.&f'
DefaultClan: '&fThis command cannot be performed on the Default Clan.&f'
NotExists: '&fSorry, We couldnt find the clan you were looking for.&f'
Reload:
CommandName: 'reload'
Description: 'Reloads all of the plugins dependancies.'
Permission: '&fYou do not have permission for this command.&f'
Message: '&fReload Complete.&f'
Version:
CommandName: 'version'
Description: 'Displays the plugin version information.'
Permission: '&fYou do not have permission for this command.&f'
List:
CommandName: 'list'
Description: 'Displays the List of Clans on this Server'
Permission: '&fYou do not have permission for this command.&f'
InvalidPageNumber: '&fSorry, We could not process your request.&f'
Seen:
CommandName: 'seen'
Description: 'Displays the time that a player was last online.'
Permission: '&fYou do not have permission for this command.&f'
RequiredArgs: '&fYou must supply a player name.&f'
Success: '&f%target% was last seen on %time%&f'
Failed: '&f%target% has never been online.&f'
Unknown:
CommandName: 'unknown'
Description: 'I dont even know what this one does.'
Invalid: '&fInvalid Command.&f'
Valid: '&fValid Command.&f'
ColorCode: '&fYou have provided a prohibited code, Try again.&f'
IllegalCharacters: '&fYou have provided Illegal Characters, Try again.&f'
Listeners:
PlayerJoin:
NameChange: '&fIt appears that you have changed your player name.&f'
NameChange2: '&fPlease wait, While we update your player data.&f'
NCSuccess: '&fSuccess, Your player data has been updated.&f'
NCFailed: '&fError: Failed to update your player data.&f'
NCFailed2: '&fPlease contact an Administrator for further assistance.&f'
Monsters:
Damage: '&fMonsters cannot be harmed in %landowner% land.&f'
Animals:
Damage: '&fAnimals cannot be harmed in %landowner% land.&f'
Move:
Entering: '&fNow entering %landowner% land.&f'
Leaving: '&fNow leaving %landowner% land.&f'
ClaimedLand: '&fYou are not permitted in %landowner% land.&f'
Teleport:
AlreadyTeleported: '&fYou are not permitted in %landowner% land, Teleporting to Spawn.&f'
ClaimedLand: '&fYou are not permitted to teleport into %landowner% land.&f'
BlockDestroy:
ClaimedLand: '&fYou are not permitted to destroy blocks in %landowner% land.&f'
BlockPlace:
ClaimedLand: '&fYou are not permitted to place blocks in %landowner% land.&f'
WorldGuard:
ClaimError: '&fWorldGuard prevents you from claiming this land.&f'
ClaimOveride: '&fServer Operator Detected: Overiding WorldGuard to Perform Land Claim.&f'
Economy:
Success:
Census: '&f%fee% has been debited from your account.&f'
Claim: '&f%fee% has been debited from your account.&f'
Unclaim: '&f%fee% has been debited from your account.&f'
Claims: '&f%fee% has been debited from your account.&f'
Who: '&f%fee% has been debited from your account.&f'
Create: '&f%fee% has been debited from your account.&f'
Delete: '&f%fee% has been debited from your account.&f'
Chat: '&f%fee% has been debited from your account.&f'
Home: '&f%fee% has been debited from your account.&f'
SetHome: '&f%fee% has been debited from your account.&f'
Invite: '&f%fee% has been debited from your account.&f'
Kick: '&f%fee% has been debited from your account.&f'
Leave: '&f%fee% has been debited from your account.&f'
List: '&f%fee% has been debited from your account.&f'
Lookup: '&f%fee% has been debited from your account.&f'
Memo: '&f%fee% has been debited from your account.&f'
Rank: '&f%fee% has been debited from your account.&f'
SetRank: '&f%fee% has been debited from your account.&f'
Seen: '&f%fee% has been debited from your account.&f'
FriendlyFire: '&f%fee% has been debited from your account.&f'
Tag: '&f%fee% has been debited from your account.&f'
Failed:
Census: '&fThis command requires %fee%, You have %balance%.&f'
Claim: '&fThis command requires %fee%, You have %balance%.&f'
Unclaim: '&fThis command requires %fee%, You have %balance%.&f'
Claims: '&fThis command requires %fee%, You have %balance%.&f'
Who: '&fThis command requires %fee%, You have %balance%&f'
Create: '&fThis command requires %fee%, You have %balance%.&f'
Delete: '&fThis command requires %fee%, You have %balance%.&f'
Chat: '&fThis command requires %fee%, You have %balance%.&f'
Home: '&fThis command requires %fee%, You have %balance%.&f'
SetHome: '&fThis command requires %fee%, You have %balance%.&f'
Invite: '&fThis command requires %fee%, You have %balance%.&f'
Kick: '&fThis command requires %fee%, You have %balance%.&f'
Leave: '&fThis command requires %fee%, You have %balance%.&f'
List: '&fThis command requires %fee%, You have %balance%.&f'
Lookup: '&fThis command requires %fee%, You have %balance%.&f'
Memo: '&fThis command requires %fee%, You have %balance%.&f'
Rank: '&fThis command requires %fee%, You have %balance%.&f'
SetRank: '&fThis command requires %fee%, You have %balance%.&f'
Seen: '&fThis command requires %fee%, You have %balance%.&f'
FriendlyFire: '&fThis command requires %fee%, You have %balance%.&f'
Tag: '&fThis command requires %fee%, You have %balance%.&f'
InsufficientFunds:
Census: '&f%balance% has been debited from your account.&f'
Claim: '&f%balance% has been debited from your account.&f'
Unclaim: '&f%balance% has been debited from your account.&f'
Claims: '&f%balance% has been debited from your account.&f'
Who: '&f%balance has been debited from your account.&f'
Create: '&f%balance% has been debited from your account.&f'
Delete: '&f%balance% has been debited from your account.&f'
Chat: '&f%balance% has been debited from your account.&f'
Home: '&f%balance% has been debited from your account.&f'
SetHome: '&f%balance% has been debited from your account.&f'
Invite: '&f%balance% has been debited from your account.&f'
Kick: '&f%balance% has been debited from your account.&f'
Leave: '&f%balance% has been debited from your account.&f'
List: '&f%balance% has been debited from your account.&f'
Lookup: '&f%balance% has been debited from your account.&f'
Memo: '&f%balance% has been debited from your account.&f'
Rank: '&f%balance% has been debited from your account.&f'
SetRank: '&f%balance% has been debited from your account.&f'
Seen: '&f%balance% has been debited from your account.&f'
FriendlyFire: '&f%balance% has been debited from your account.&f'
Tag: '&f%balance% has been debited from your account.&f'