So... we see you haven't signed up here on our website.  

Do you really want to sit here and be "Unregistered" all your life?  No, of course you don't!  So, click this here link and you'll take that all important first step into enlightenment! (or something, whatever...)

[Researching] /day7 command and time on server option

Discussion in 'Feature Requests' started by defunKt, Jan 13, 2018.

  1. defunKt

    defunKt New Member

    Points:
    20
    Hey,

    Everything is working beautifully but wanted to check into a couple options. I there a way to setup a /day7 command that players can type and receive a message of amount of time until the next bloodmoon?

    Secondly, it would be great if there was an option that showed how much time a player has spent on the server. Perhaps there is one and i haven't found it.

    Thanks!
     
  2. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,225
    For the bloodmoon, you can create a new event of type: Player Public Chat

    Conditionals:

    STARTSWITH:!day7

    Script:

    .BLOODMOON:PUBLIC:The next bloodmoon is in {bloodmoon_next} days!||The next bloodmoon is tonight!


    There currently isn't anything to display their total time on, but I'll see what I can do. That information might be available from the server and if it is, I can capture it.
     
  3. defunKt

    defunKt New Member

    Points:
    20
    Hey Trekkan,

    As always, thanks for the fast response. I'm new to this event thing, can you walk me through with baby steps? Not sure where to create this event at.

    Another thing... in the chat tab, everytime after a player types something in game, this messages comes up afterwards: Server: Chat test args, Player Name: "Digitizer". Not sure what it is or if i can disable it.
     
  4. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,225
    No problem. =) So a lot of RAT is run by events. There are default events that I create for RAT to do things, and then you can modify/create new events. You get to the Event Editor by clicking the Gear icon on the toolbar. From there, you'll see a lot of events as an example. In fact, I think there is already an event under "player public chat" called !Bloodmoon that does what you want.

    If you can't edit an event, that's because it's a RAT event and I need to be able to update the examples without overwriting any changes you might make. In that case, duplicate the event (its a button on the event editor toolbar), then disable the original RAT event, and enable your own.
     
  5. defunKt

    defunKt New Member

    Points:
    20
    Hey Trekkan,

    Any thoughts on the second part of my previous question: in the chat tab, every time after a player types something in game, this messages comes up afterwards: Server: "Chat test args, Player Name: "Digitizer"." Not sure what it is or if i can disable it.

    Another question, the RAT seems to have stopped refreshing and continuously only shows 1 player's inventory contents, no matter which player i click on. It was briefly fixed when i closed and reopened the RAT, but then stalled on one player again. All connections remain strong and the appropriate lights are green.
     
  6. Trekkan

    Trekkan JFF Administrator Staff Member

    Points:
    1,225
    Go into the event editor. Look in the Player Public Chat section, there is a test event there that is enabled. Either disable it or delete it and that'll fix that issue.

    As for RAT stopping refreshing, are you able to type in console commands in the console window and have them work when this is happening? That's really the test as to if there is a problem or not. If something is hung in some way, the lights might not update correctly (they should generally, but in the case of problems like this, there might be some condition I'm not trapping).
     

Share This Page