Not working for me, what am I doing wrong?
So I ran the following

/eps thread add "Base-wide Workbench" #FF6C6C buildingworkbench.use 3600 pt 43200​


I expect the permission buildingworkbench.use will be given to a player for 1 hour of playtime.

I hung out on the server for an hour or more, other players have surely played longer than 1 hour, but /effect shows no threads.

I have this in my threads.json

    "Base-wide Workbench": {
      "DataThreadType": 3,
      "ThreadName": "Base-wide Workbench",
      "ThreadColor": "#FF6C6C",
      "Permissions": [
        "buildingworkbench.use"
      ],
      "DisconnectAutoExpireTime": "12:00:00",
      "ExpireTime": "01:00:00"
    }​

PlayerData is blank, but PlayerGUIData shows:

    "76561198374082515": {
      "Id": "76561198374082515",
      "Name": "Bumfuzzler",
      "useUI": true,
      "EffectPage": 0
    },

I have PlaytimeTracker in place.

Is there something wrong or am I missing something?

If you created EffectThread, you must add it to a specific target with the command /eps add.
5cfe77accf5fb.jpeg noname
If you created EffectThread, you must add it to a specific target with the command /eps add.
Ah ok thanks.

So in this case:

/eps add group default "Base-wide Workbench"
​

would then give permissions to everyone.

Thanks missed that.



Merged post

Hmm, when I tried to do that it says

Playtime-based effects cannot be added to the group

I was able to add it to myself, but that automatically gives me permission from the thread.

I was hoping that what I set above would give the player permission after 1 hour of playtime.
  • Why do I have to do /eps add to add it to a group or person? Doesn't it do that automatically based on playtime?
  • Does this work in the inverse as it gives players the permission for x amount of time, then gives it to them again after x amount of inactive time? I was hoping it would reward for playtime, not inactivity.
  • Why can't I add it to the default group and should I based on what I'm hoping to do?
Thanks in advance.
Paletime based means measuring the flow of time based on Playtime. It's not a measure of when a certain play time is exceed.

An external plug-in can be used to automatically assign EffectThread to the first player.
There will be no plug-in in Umod to execute the command to the first user. But it's possible by modifying a plug-in like Welcomer, and I'm going to upload a plug-in like this on Umod.

I've got the same issue, trying to use this to assign a permission for the first 2 hours of someone playing on my server. After 2 hours the permission gets removed -- but I'm getting the same error "Playtime-based effects cannot be added to the group" because I'm trying to add it to the default group.

Any idea how I would go about this? .. and you mention above modifying a plugin like Welcomer to achieve this?