• 1.3.0 2140cd67ff

    GovindasOM released this 2020-11-28 08:14:19 +00:00 | 68 commits to master since this release

    • Added a way to SET/DELETE variables between servers! Currently ADD/REMOVE operations and multiple changers aren't supported due to that I didn't find how to support these yet without causing issues, so I'll mark this feature as BETA, it'll be improved in the future.

    You already could do this with redis messages, but it was more complicated, this update makes the addon more newbie-friendly.

    Managing variables:

    set variables "test::1", "test::2", "test::3" in channel "global" to 100
    #then use this in any server that listens to "global" redis channel and was online when the above line was executed:
    send "%{test::*}%" #outputs 100, 100 and 100
    
    delete variables "test::*" in channel "global"
    
    set variable "test::%uuid of player%" in channel "playerdata" to tool of player
    #then you can in any server that is listening to "playerdata" channel and was online when the above line was executed:
    give {test::%uuid of player%} to player
    

    Syntax:

    variable[s] %strings% in [redis] [channel] %string%
    

    Other Changes

    • Fixed an error on server shutdown when there's high ping to redis server

    • Fixed a few little bugs

    • Added ability to send multiple redis messages in one go to save performance:

    send redis messages "hello", "bye", "hi again" to channel "welcome"
    
    Downloads