TimedPermissions
Moved
Total Downloads: 2,967 - First Release: May 20, 2016 - Last Update: Apr 7, 2017
- 5/5, 22 likes
-
-
omfg im retarded so sorry to waste your time i was keeping each part of info inside the <> and not remove <>
-
-
laser can you help me with another part that i'm trying to work on with donators. your mod works perfectly with direct send commands but i'm trying to run an auto command with gpay that auto pulls steam id or username. i know this isn't part of your mod directly but the only line that doesn't work.
command line is "command" : "addgroup <steamid> tier1 30d. tier 1 can be any group but all other mods pull from the <steamid and\or username> -
If I may suggest: try looking for SDonate. SDonate Donation System it is a 1 time payment but they get the donation directly without doing any extra actions (also support more currencies).
I used GPay but I had to pay a small fee (understandable) for every donation + a fee for paypal. (%25 goes to other people)
Sdonate is a 1 time payment.
If you need any info about SDonate PM me, happy to help you. -
nice plugin
-
Hi, i have a question, because i don't know what to do)
I use plugin TankCommander, and sell the tank in the shop. But i dont know how to take off the permission in the player who buy it, because i want sell it for few hours. Permission are revoking, but if the player not leave her tank, he can use it more that buyed time.
So i need to kick him from the server or something like this, to take off the permission. Can you help me with this problem? How to solve this?
Is it real to add the command to this plugin like this?:
kickplayer steamid 120m
that we can use it in the shopLast edited by a moderator: May 13, 2018 -
Code:void OnUserPermissionRevoked(string id, string perm) { ulong steamID; if (perm != "tankcommander.use") return; if (UInt64.TryParse(id, out steamID) { commanders[id].ExitTank(); } }
-
why TimedPermission adds/permiss, with a 3 hour difference. For example, using the console to give the player a group for 10 minutes, for example at 20:00, respectively, in 20:10 he will have to retire from the group, but recorded in TimedPermossion 17:10. It may be that the time zone should be set or what the difference is
-
-
-
After the wipe yesterday people don't automatically be placed in the correct group. Is there a way to force check and add them to the groups?
Or did I do something wrong?
When I use pinfo it say they are in the group for a specific time. But they are not in the group to get Kits and Betterchat.
When I add them manually they are in the group.Last edited by a moderator: Jun 9, 2018 -
-
I hope I can explain it better.
For example:
- A Player bought a VIP package before the wipe for 30 days. He is now in the VIP group.
- After the wipe he was not in the VIP Group anymore. But in the data (and when you use pinfo) say he is still VIP for 30 days.
- Checking the oxide.users.data say this player is in the default group.
- When I use the addperm 1D command he is in the VIP group again for 31 days. (So the plugin is working)
So I think the plugin doesn't check if the permissions are set.
Like:
- Loading Timed Permission
- Check permissions from config.
- Player X doesn't have the permission.
- Adding Player X to this permission -
-
owwwww yes that must be the issue because it was full of permission which where old. I cleaned it.
Thanks, next wipe it won't do this so it would be ok. For now some people manually adding to this group and it is fixed (workaround)
Thanks for your quick response and help man! -
Is it possible to make a permission for players to use /pinfo?
Currently I have 1 permission and then they can add themself to other permissions.
Or is it just edit the following line?
[Command("pinfo"), Permission("timedpermissions.use")]
to
[Command("pinfo"), Permission("timedpermissions.pinfo")] -
Here's a link to the post where I pasted my code. Basically, it's a tweaked version of the /pinfo command for only that player. -
Thanks @Windamyre !