I'm trying to update the room variables by smart fox server web client.
I have a private and global room variable called MOVE_TIME and I change it to different numbers.
On java server extensions, on handleClientRequest, I have this code:
Code: Select all
Room room = user.getLastJoinedRoom();
room.getVariable("MOVE_TIME").getIntValue()
When I change the room variable the java server extension don't update the change until I reboot the SmartFoxServer.
How should I do this?