Jump to content

Settings in META


Recommended Posts


I've this on meta:

            friendlyname="Show the winner of the match" 
            desc="Displays the final winner of the match in the chat." 

and serverside I have this

local showFinalWinner = get("displayWinnerMessages") 
addEvent ("onSettingChange") 
addEventHandler("onSettingChange", resourceRoot, 
function(theSetting, oldValue, newValue, thePlayer) 
    if theSetting == "displayWinnerMessages" then 
        outputChatBox(theSetting.." has been changed to "..newValue, thePlayer) 

But when I go to Admin Panel>myResource>Settings I don't see any setting to change there.. It's empty

EDIT: When I use * before the setting's name. It works. But isn't it supposed that it must work with @ too? So that only that resource can modify it

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...