mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-29 15:56:50 +01:00
Full Distribution
This commit is contained in:
8
data/talkactions/scripts/serverinfo.lua
Normal file
8
data/talkactions/scripts/serverinfo.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
function onSay(player, words, param)
|
||||
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Server Info:"
|
||||
.. "\nExp rate: " .. Game.getExperienceStage(player:getLevel())
|
||||
.. "\nSkill rate: " .. configManager.getNumber(configKeys.RATE_SKILL)
|
||||
.. "\nMagic rate: " .. configManager.getNumber(configKeys.RATE_MAGIC)
|
||||
.. "\nLoot rate: " .. configManager.getNumber(configKeys.RATE_LOOT))
|
||||
return false
|
||||
end
|
||||
Reference in New Issue
Block a user