Configuration with describing comments

# === Main settings ===
main:
  # Debug mode
  debug: false
  # Which language to use
  # (short alias like in the messages below)
  language: 'en'
  # Show toggle hint message every x minutes.
  # Will also be shown short time after login (0 disables this feature)
  toggleHintMessageInterval: 60
  # Broadcast messages like when the plugin gets activated/deactivated
  # or a player tries to teleport/change world while battle
  broadcastMessages: false
  # With how many minimum entries the cleanup task should go over the caches (every minute)?
  # 0 disables this feature but its only recommended when you have enough RAM!
  # (Removing players that are offline, Entities that already are dead/do not exist anymore etc.)
  cleanUpTaskMinEntries: 20
  # Give block exp directly to player who has broken it without dropping orbs?
  giveBlockExpDirectlyToMiner: false

# === Experience split settings ===
split:
  # Only split experience points when the killer was a player?
  killerMustBePlayer: true
  # Only split the amount of experience
  # (([players total damage] / [entity max health]) * [entities total experience])
  # or should e.g. one player be able to recieve all experience
  # of entity even when he only has one damage point dealt
  # and all the other damage was dealt by other damage sources
  # like lava, cacti etc.?
  experienceAmountOnlyDependsOnDamageDealtByPlayers: true
  # Drop remaining experience in exp orbs?
  # Only has an effect when the option
  # experienceAmountDependentOnDamageDealtByPlayers is enabled
  dropRemainingExperience: false
  # Globally enable SplitXP in these worlds
  worlds:
    # By environment
    # can be one or more of the bukkit
    # environment types NORMAL, NETHER, THE_END
    # ALL = enable this plugin in all worlds
    environments: []
    # By world name (override world type)
    # can be one or more specific world names
    # ALL = enable this plugin in all worlds
    names:
    - 'ALL'
  # Experience settings for mobs
  mobs:
    # Enable experience splitting for mobs
    enabled: true
    # For which mob types splitting should be enabled?
    # should be one or more of BLAZE, CAVE_SPIDER,  CHICKEN,  COW,  CREEPER,  ENDER_DRAGON,  ENDERMAN,
    # GHAST, GIANT, IRON_GOLEM, MAGMA_CUBE, MUSHROOM_COW, OCELOT, PIG, PIG_ZOMBIE, SHEEP, SILVERFISH,
    # SKELETON, SLIME, SNOWMAN, SPIDER, SQUID, UNKNOWN, VILLAGER, WOLF, ZOMBIE
    # or ALL to enable splitting for all types of mobs
    types:
    - 'ALL'
  # Experience settings for players
  players:
    # Enable experience splitting for players?
    enabled: true
    # How many experience points should a player get as maximum at once?
    # Default is the maximum an enderdragon can drop (20,000) 0 disables this
    maxExp: 20000
    # Exclude creative players?
    excludeCreative: true

# Additional battle anti-cheat features
battle:
  # Enable or disable this feature?
  enabled: true
  # Global default state of damage messages for new players as set in messages.damageSelf
  # Hint: players can personally override this with /sxp msg <on|off>
  damageMessagesDefaultState: true
  # Exclude OPs/permitted players (in rights configuration) from the battle restrictions?
  restrictionsExcludePermitted: false
  # In which time period (in seconds) after the last hit
  # the player should be recognized as being in a battle?
  timeOut: 10
  # Abort teleportation when teleporting/go through portal while being in a battle?
  abortTeleportation: true
  # Per hit damage limiter (0 disables this feature)
  maxDamagePerHit: 0
  # Per player total damage limiter (0 disables this feature)
  maxDamagePerPlayer: 0
  # Enable features like splitting or losing of the whole players experience when he loggs out,
  # teleports or changes gamemode to creative within the given time and max health in a battle
  # when event could not be/is not canceled
  penalty:
    # Enable this feature?
    enabled: true
    # Splitting of the whole players experience
    splitExperience: true
    # Clear inventory for penalizing?
    clearInventory: false
    # Maximum health left for the player for getting penalized
    # this is useful to decide if the client just crashed or if
    # the player logged out/teleported etc. because of to few health left
    maxHealth: 5

# Temporary use this as an alternative to permissions (will be added soon)
# for admin commands and ignoring penalty
# Put in a player name and/or OP to also include OP permissions
rights:
- 'OP'

# Message customizations/translations (empty = disable message)
messages:
    # No placeholders
    enabled:
      en: 'enabled'
      de: 'aktiviert'
    # No placeholders
    disabled:
      en: 'disabled'
      de: 'deaktiviert'
    # Placeholders: NewState
    pluginStateToggled:
      en: 'Fair splitting of experience points has been {NewState}!'
      de: 'Das gerechte Aufteilen von Erfahrungspunkten wurde {NewState}!'
    # Placeholders: PlayerName, DisplayName, NewState
    pluginStateToggledBy:
      en: 'Fair splitting of experience points has been {NewState} by {DisplayName}!'
      de: 'Das gerechte Aufteilen von Erfahrungspunkten wurde von {DisplayName} {NewState}!'
    # No placeholders
    pluginNoPermission:
      en: 'You do not have the permission to execute this command!'
      de: 'Du hast nicht die nötigen Rechte, um dieses Kommando ausführen zu dürfen!'
    # Placeholders: PlayerName, DisplayName
    broadcastRespawned:
      en: 'Player {DisplayName} has been risen from the dead!'
      de: 'Spieler {DisplayName} ist wiederauferstanden!'
    # Placeholders: EntityType, EntityID, EntityHealth, EntityMaxHealth
    healthLeft:
      en: '{EntityHealth} health left.'
      de: 'Noch {EntityHealth} Gesundheit.'
    # Placeholders: EntityType, EntityID, EntityHealth, EntityMaxHealth
    thisEntity:
      en: 'this {EntityType}'
      de: '{EntityType}'
    # Placeholders: PlayerName, DisplayName, PlayerHealth, PlayerMaxHealth
    player:
      en: 'player {DisplayName}'
      de: 'Spieler {DisplayName}'
    # Placeholders: Experience, Entity, EntityMaxHealth
    # Placeholder Entity will be either one of thisEntity or player key depending on what killed
    selfGotExperienceFromEntity:
      en: 'You got {Experience} experience points for killing {Entity}!'
      de: 'Du hast {Experience} Erfahrungspunkte für das Töten von {Entity} erhalten!'
    # Placeholders: PlayerName, DisplayName, Experience, EntityMaxHealth
    otherGotExperienceFromEntity:
      en: '{DisplayName} got {Experience} experience points for killing {Entity}!'
      de: '{DisplayName} wurde mit {Experience} Erfahrungspunkten für das Töten von {Entity} belohnt!'
    # Placeholders: Experience, BlockType
    selfGotExperienceFromBlock:
      en: 'You got {Experience} experience points for mining {BlockType}!'
      de: 'Du hast {Experience} Erfahrungspunkte für das Abbauen von {BlockType} erhalten!'
    # Placeholder: NewState (shows text as set in enabled/disabled)
    battleDamageMessagesState:
      en: 'You have {NewState} your messages about damage dealt.'
      de: 'Du hast deine Nachrichten über den angerichteten Schaden {NewState}.'
    # No placeholders
    battleDamageMessagesToggleHint:
      en: 'Hint: You can toggle your messages about damage dealt with /sxp msg <on|off>.'
      de: 'Hinweis: Du kannst deine Nachrichten über den angerichteten Schaden mittels /sxp msg <on|off> ein-/ausschalten.'
    # Placeholders: DamageDealt, Entity, EntityHealth, EntityMaxHealth
    damageSelf:
      en: 'You have dealt {DamageDealt} damage to {Entity}!'
      de: 'Du hast bei {Entity} {DamageDealt} Schaden angerichtet!'
    # Placeholders: PlayerName, DisplayName, DamageDealt, Entity, EntityHealth, EntityMaxHealth, PlayerHealth, PlayerMaxHealth
    damageOther:
      en: '{DisplayName} dealt {DamageDealt} damage to {Entity}!'
      de: '{DisplayName} hat bei {Entity} {DamageDealt} Schaden angerichtet!'
    # Placeholders: DamageDealt, Entity, EntityHealth, EntityMaxHealth
    damageOwnArrow:
      en: 'You have dealt {DamageDealt} damage to {Entity} by hitting with an Arrow!'
      de: 'Du hast bei {Entity} {DamageDealt} Schaden durch einen Pfeiltreffer angerichtet!'
    # Placeholders: PlayerName, DisplayName, DamageDealt, Entity, EntityHealth, EntityMaxHealth, PlayerHealth, PlayerMaxHealth
    damageOtherArrow:
      en: '{DisplayName} dealt {DamageDealt} damage to {Entity} by hitting with an Arrow!'
      de: '{DisplayName} hat bei {Entity} {DamageDealt} Schaden durch einen Pfeiltreffer angerichtet!'
    # Placeholders: DamageDealt, Entity, EntityHealth, EntityMaxHealth, PotionType
    damageOwnThrownPotion:
      en: 'You have dealt {DamageDealt} damage to {Entity} by hitting with the {PotionType} potion!'
      de: 'Du hast bei {Entity} {DamageDealt} Schaden durch einen Treffer mit dem {PotionType} Wurftrank angerichtet!'
    # Placeholders: PlayerName, DisplayName, DamageDealt, Entity, EntityHealth, EntityMaxHealth, PlayerHealth, PlayerMaxHealth, PotionType
    damageOtherThrownPotion:
      en: '{DisplayName} dealt {DamageDealt} damage to {Entity} by hitting with the {PotionType} potion!'
      de: '{DisplayName} hat bei {Entity} {DamageDealt} Schaden durch einen Treffer mit dem {PotionType} Wurftrank angerichtet!'
    # Placeholders: DamageDealt, Entity, EntityHealth, EntityMaxHealth
    damageOwnProjectile:
      en: 'You have dealt {DamageDealt} damage to {Entity} by hitting with {ProjectileType}!'
      de: 'Du hast bei {Entity} {DamageDealt} Schaden durch {ProjectileType} angerichtet!'
    # Placeholders: PlayerName, DisplayName, DamageDealt, Entity, EntityHealth, EntityMaxHealth, PlayerHealth, PlayerMaxHealth
    damageOtherProjectile:
      en: '{DisplayName} dealt {DamageDealt} damage to {Entity} by hitting with a Projectile!'
      de: '{DisplayName} hat bei {Entity} {DamageDealt} Schaden durch einen Projektiltreffer angerichtet!'
    # Placeholders: DamageDealt, Entity, EntityHealth, EntityMaxHealth
    damageOwnTameable:
      en: 'Your {TameableType} dealt for you {DamageDealt} damage to {Entity}!'
      de: 'Dein {TameableType} hat für dich {DamageDealt} Schaden bei {Entity} angerichtet!'
    # Placeholders: DamageDealt, EntityHealth, EntityMaxHealth, Entity, EntityType, EntityID
    damageOtherTameable:
      en: 'The {TameableType} of {DisplayName} dealt {DamageDealt} damage to {Entity}!'
      de: 'Der {TameableType} von {DisplayName} hat {DamageDealt} Schaden bei {Entity} angerichtet!'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastLeftGame:
      en: 'Player {DisplayName} has left the game while battle!'
      de: 'Spieler {DisplayName} hat das Spiel während eines Kampfes einfach verlassen!'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastChangedWorld:
      en: 'Player {DisplayName} has changed the world while battle!'
      de: 'Spieler {DisplayName} hat während eines Kampfes einfach die Welt gewechselt!'
    # No placeholders
    battleSelfTeleportAborted:
      en: 'You can not teleport while battle! Teleportation aborted.'
      de: 'Du darfst dich während eines Kampfes nicht einfach so teleportieren! Teleportation abgebrochen.'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastTeleportAborted:
      en: 'Player {DisplayName} tried to teleport while battle! Teleportation has been aborted.'
      de: 'Spieler {DisplayName} hat versucht, sich während eines Kampfes zu teleportieren! Die Teleportation wurde abgebrochen.'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastTeleported:
      en: 'Player {DisplayName} has been teleported while battle!'
      de: 'Spieler {DisplayName} hat sich während eines Kampfes einfach teleportiert!'
    battleSelfPortalAborted:
      en: 'You can not go through portals while battle! Teleportation aborted.'
      de: 'Du darfst während eines Kampfes nicht durch Portale flüchten!'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastPortalAborted:
      en: 'Player {DisplayName} tried to go through a portal while battle! Teleportation aborted.'
      de: 'Spieler {DisplayName} hat versucht, während eines Kampfes durch ein Portal zu flüchten! Die Teleportation wurde abgebrochen.'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastPortal:
      en: 'Player {DisplayName} has gone through a portal while battle!'
      de: 'Spieler {DisplayName} ist während eines Kampfes einfach durch ein Portal geflüchtet!'
    # No placeholders
    battleSelfCreativeAborted:
      en: 'You can not switch to creative mode while battle! Aborted.'
      de: 'Du darfst während eines Kampfes nicht einfach in den Kreativmodus wechseln! Spielmoduswechsel abgebrochen.'
    # Placeholders: PlayerName, DisplayName
    battleBroadcastCreativeAborted:
      en: 'Player {DisplayName} tried to switch gamemode to creative while battle! Aborted.'
      de: 'Spieler {DisplayName} hat versucht, während eines Kampfes in den Kreativmodus zu wechseln. Der Spielmoduswechsel wurde abgebrochen.'
    # Placeholders: Experience
    penaltyExperience:
      en: '{Experience} experience points'
      de: '{Experience} Erfahrungspunkte'
    # No placeholders
    penaltyAnd:
      en: 'and'
      de: 'und'
    # No placeholders
    penaltyItems:
      en: 'items'
      de: 'Items'
    # No placeholders
    # Placeholders: Middle, Ending
    penaltySelf:
      en: 'You have lost all your {Middle} {Ending}'
      de: 'Du hast alle deine {Middle} {Ending}'
    # Placeholders: PlayerName, DisplayName, Middle, Ending
    penaltyBroadcast:
      en: '{DisplayName} has lost all his {Middle} {Ending}'
      de: '{DisplayName} hat alle seine {Middle} {Ending}'
    penaltySelfEnding:
      en: 'because you have cheated (e.g. teleported) while battle!'
      de: 'verloren, da du beim Kampf betrogen hast (z.B. durch Teleportation mit wenig Leben)!'
    # No placeholders
    penaltyBroadcastEnding:
      en: 'because he has cheated (e.g. teleported or logged out) while battle!'
      de: 'verloren, weil er beim Kampf betrogen hat (z.B. durch Teleportation oder Ausloggen mit wenig Leben)!'

Comments

Posts Quoted:
Reply
Clear All Quotes