Code:(18:57:37) | Error while compiling TimedPermissions.cs(330,41): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `name' and no extension method `name' of type `ConsoleSystem.Command' could be found. Are you missing an assembly reference?
TimedPermissions
Moved
Total Downloads: 2,968 - First Release: May 20, 2016 - Last Update: Apr 7, 2017
- 5/5, 22 likes
-
Wulf Community Admin
-
1. Message in chat
2. addgroup s3r4. ELITE 30m
3. /eh
4. Message in chat
WHERE MY [ELITE] STATUS?
[DOUBLEPOST=1486245544][/DOUBLEPOST]When write and send to chat "/" symbol
wtf?
[DOUBLEPOST=1486245709][/DOUBLEPOST]but VIP status works fine ...
[DOUBLEPOST=1486246349][/DOUBLEPOST]ok. simple:
group add ELITE [ELITE] [1]
need
group add elite [ELITE] [1] -
please fix.
Code:[02/10/2017 07:02:10] TimedPermissions has replaced the 'grantperm' command previously registered by TimedPermissions [02/10/2017 07:02:10] TimedPermissions has replaced the 'addgroup' command previously registered by TimedPermissions [02/10/2017 07:02:10] TimedPermissions has replaced the 'pinfo' command previously registered by TimedPermissions
-
Wulf Community Admin
Wulf updated Timed Permissions with a new update entry:
1.2.7
-
whether it is possible make the time added to the current _expireDate
with unixtime easier to work -
Do you need this plugin in order to do timed permissions? I thought you could do this with oxide on its own but I have no idea. Still new to this.
-
Wulf Community Admin
-
-
This is kind of a reply /update to a couple of posts earlier. You can see my post here, and LaserHydra's response here.
This is in regards to the issue of double issuing permissions and the problems it creates. I think I've kludged together a temporary fix that seems to work on my server, but would welcome anyone with comments on it. LaserHydra's maintains so many plug-ins... I'd hate to see his ToDo tab!
Nutshell: I search for the permission name and if it exists, I just change the expireDate. Two quick notes: I had to use .ToLower to prevent minor typos (like ".VIP" vs ".vip") and I wasn't sure how to access the DateTime to String function, so I just copied it.
in the AddPermission function (around line 81) change
Code:internal void AddPermission(string permission, DateTime expireDate) { permissions.Add(new TimedPermission(permission, expireDate));
Code:internal void AddPermission(string permission, DateTime expireDate) { int existingPemission = permissions.FindIndex(o => o.permission.ToLower() == permission.ToLower()); if (existingPemission >= 0) { permissions[existingPemission]._expireDate = $"{expireDate.Minute}/{expireDate.Hour}/{expireDate.Day}/{expireDate.Month}/{expireDate.Year}"; } else { permissions.Add(new TimedPermission(permission, expireDate)); }
-
still it creates a new permission and they have become two
-
I have an issue when I wiped my server (Hurtworld)
I copy the data file from before the wipe to the server after the wipe but the groups are not shown and i need to give everyone their groups again.
(I also copied oxide.groups.data) -
Wulf Community Admin
-
Indeed wulf! I feel such a noob now Sorry
-
Is somebody willing to test a new release?
-
Always LaserHydra! Got a test server and planning an extra pvp server all for hurtworld.
Got a rust server also so can test for Rust and Hurtworld for you. -
-
@LaserHydra
if I made a mistake... for example:
I wished to do this "addgroup 76561198106134545 VIP1 7d"
and I confuse the group and did this "addgroup 76561198106134545 VIP2 7d"
How can I remove the Timed permission for the user 76561198106134545 from the group VIP1?
or If I want to terminate/finish some timed permission before the time specified... how to do this? -
I have to try it myself but i thought to give the same permission again for 1 sec will remove it.
-
Instead, takes a bit more effort but is better, just open the datafile and search for the steamid. There you will find the permissions and be able to just remove it and reload the plugin.