Lang

Lang

Warning

The lang file configuration is only for advanced users.

Lang file setup

If you open the lang file in the DeathPackage folder, then you should see a number of key/value pairs. You must not change any of the key values, otherwise there may be unexpected results. Change the value to what you want the message to say (eg. you can have custom languages if your server is in German, or French for example).

Details

  • You must not use tabs as the file is parsed via BukkitConfiguration - YAML.
  • If you use quote marks ' they must be escaped. Instead of "don't" you MUST put "don''t". The parser will make sure to only put one in so it will still give the expected output.
  • Newlines are ignored, you must use the expression '%new%', without quotes.
  • You may use standard bukkit colour codes (&0 - &f, &k &l &m &n &o &r)
  • Do not use '%<something>%' unless specified, these are reserved for placeholders within the plugin.

Messages

  • Reloaded: Sent to the player/console when '/reload' is executed.
  • NoPerm: Sent to the player if they don't have permission to execute a command.
  • DeathPackageInvalid: Sent to the player if they did not provide a valid argument to the command '/deathpackage'.
  • DeathPackageNoPerm: Sent to the player if they do not have permission to use any admin command. This used to tell players that they are using the wrong command.
  • DeathPackageHelp: The text sent to a player when they execute '/deathpackage help'. This is for the admin commands.
  • DPackagePlayerSpecific: The message sent when the executor of '/dpackage' is not a player. A console cannot have a death package, so its invalid.
  • DPackageCannotFind: The message sent when a player could not be found. '/dpackage <player>' must be an online player, otherwise this message is displayed with '%var0%' replaced by the username of the player.

Comments

Posts Quoted:
Reply
Clear All Quotes