Nd_ Posted July 4, 2019 Share Posted July 4, 2019 Is there a way to set a player's permissions? etc if {%player%.admin} is true set permissions permission1 permission2 permission3 Link to comment Share on other sites More sharing options...
HyperFlame Posted July 5, 2019 Share Posted July 5, 2019 (edited) Yes there is! First of all you will need to have this at the start of your skript: script options: $ use permissions With this you are able to view and manage player's permissions, for example: add "permission.permission" to player's permissions remove "permission.permission" from player's permissions Note: You will need skQuery for this to work. Edited July 5, 2019 by HyperFlame 1 Link to comment Share on other sites More sharing options...
Nd_ Posted July 5, 2019 Author Share Posted July 5, 2019 9 hours ago, HyperFlame said: Yes there is! First of all you will need to have this at the start of your skript: script options: $ use permissions With this you are able to view and manage player's permissions, for example: add "permission.permission" to player's permissions remove "permission.permission" from player's permissions Note: You will need skQuery for this to work. Cool! Link to comment Share on other sites More sharing options...
Motionq Posted July 6, 2019 Share Posted July 6, 2019 Well then, I use a much more complicated way and I like this better. Link to comment Share on other sites More sharing options...
403Denied Posted August 14, 2020 Share Posted August 14, 2020 (edited) It doesnt work... script options: $ use permissions command perm [<player>] [<text>] [<permissions>]: permission: skript.admin permission message: "{@noperm}" trigger: if arg-1 isn't set: if arg-2 is set: if arg-2 is "add" or "give": if arg-3 is set: add "%arg-3%" to player's permissions else if arg-2 is "take" or "remove": if arg-3 is set: remove "%arg-3%" from player's permissions if arg-1 is set: if arg-2 is set: if arg-2 is "add" or "give": if arg-3 is set: add "%arg-3%" to arg-1's permissions else if arg-2 is "take" or "remove": if arg-3 is set: remove "%arg-3%" from arg-1's permissions Errors: permissions of the player can't have anything added to it permissions of the player can't have anything removed from it Edited August 14, 2020 by Mr_pro68YT :3 Link to comment Share on other sites More sharing options...
_Beanslayer Posted October 26, 2020 Share Posted October 26, 2020 Do you have SKQuery? Link to comment Share on other sites More sharing options...
_Beanslayer Posted October 26, 2020 Share Posted October 26, 2020 I have been lead to believe that it is because of the prefix 'skript' try doing permission.admin instead Link to comment Share on other sites More sharing options...
nicholxs Posted October 27, 2020 Share Posted October 27, 2020 Locked! Please don't necropost! This post was created over a year ago! First Joined: July 2015VIP: January 2020Jr.Mod: 1st April 2020Mod: 16th July 2020Info:~ Skript Developer ~ Discord: @nicholxs#0001 ~ Previous names: Nichxlxs, Deterno, iHaveSkills, Retrical Link to comment Share on other sites More sharing options...
Recommended Posts