Advertisement
Guest User

convo

a guest
Apr 5th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1.  
  2.  
  3. Lawrence_Tech
  4. Feb 21
  5. no i fixed that,
  6. thats no longer the problem. the script loads fine their is no longer a MySQL error and the problem is that when i press f2 with all perms set up as you said it still doesn’t come up with anything and it doesn’t show a access denied in the server prompt.
  7.  
  8. Reply
  9.  
  10. Blumlaut
  11. Feb 21
  12. it doesn’t show a access denied in the server prompt
  13.  
  14. it won’t.
  15.  
  16. Any errors? did you add yourself as an admin?
  17.  
  18.  
  19. Reply
  20.  
  21. Lawrence_Tech
  22. Feb 21
  23. i set my self in the server .cfg as super admin and that didnt work so i tried admin
  24.  
  25. 2 RepliesReply
  26.  
  27. Lawrence_Tech
  28. Feb 21
  29. still didnt work
  30.  
  31. Reply
  32.  
  33. Blumlaut
  34. Feb 21
  35. i set my self in the server .cfg as super admin and that didnt work so i tried admin
  36.  
  37. you do also need to actually grant easyadmin permissions to the roles, you realise that, right?
  38.  
  39.  
  40. Reply
  41.  
  42. Lawrence_Tech
  43. Feb 21
  44. yeh its added
  45.  
  46. Reply
  47.  
  48. Lawrence_Tech
  49. Feb 21
  50. want to only allow players authenticated with a third-party provider like Steam?
  51. #sv_authMaxVariance 1
  52. #sv_authMinTrust 5
  53.  
  54. add_ace group.admin fax allow # allow all commands for FAXES Script admins
  55. add_ace group.moderator fax allow # allow all commands for FAXES Script moderators
  56. add_ace group.canBait BaitCarPro.open_menu allow
  57.  
  58. add_ace group.admin easyadmin.ban allow
  59. add_ace group.admin easyadmin.kick allow
  60. add_ace group.admin easyadmin.spectate allow
  61. add_ace group.admin easyadmin.unban allow
  62. add_ace group.admin easyadmin.teleport allow
  63. add_ace group.admin easyadmin.addadmin allow
  64. add_ace group.admin easyadmin.manageserver allow
  65. add_ace group.admin easyadmin.slap allow
  66. add_ace group.admin easyadmin.freeze allow
  67. add_ace group.admin easyadmin.screenshot allow
  68. add_ace group.admin easyadmin.immune allow
  69.  
  70. add_ace group.moderator easyadmin.kick allow # allow kicking
  71. add_ace group.moderator easyadmin.spectate allow # allow spectating
  72. add_ace group.moderator easyadmin.teleport allow # allow teleportation
  73. add_ace group.moderator easyadmin.slap allow # allow slapping
  74. add_ace group.moderator easyadmin.freeze allow # allow freezing
  75.  
  76. add system admins
  77. add_ace group.admin command allow # allow all commands
  78. add_ace group.admin command.quit deny # but don’t allow quit
  79.  
  80. add system admins
  81. add_principal identifier.steam:11000010f5727ab group.admin
  82. add_principal identifier.steam:11000010799d2cc group.admin
  83. add_principal identifier.steam:110000118e25b84 group.admin
  84. add_principal identifier.steam:11000010975ea67 group.admin
  85.  
  86. add system moderators
  87. add_principal identifier.steam:110000117df3bf0 group.moderator
  88.  
  89. can use bait car
  90. add_principal identifier.steam:steam:11000010f5727ab group.canBait
  91.  
  92. 2 RepliesReply
  93.  
  94. Blumlaut
  95. Feb 21
  96. add_ace group.admin easyadmin.ban allow
  97. add_ace group.admin easyadmin.kick allow
  98. add_ace group.admin easyadmin.spectate allow
  99. add_ace group.admin easyadmin.unban allow
  100. add_ace group.admin easyadmin.teleport allow
  101. add_ace group.admin easyadmin.addadmin allow
  102. add_ace group.admin easyadmin.manageserver allow
  103. add_ace group.admin easyadmin.slap allow
  104. add_ace group.admin easyadmin.freeze allow
  105. add_ace group.admin easyadmin.screenshot allow
  106. add_ace group.admin easyadmin.immune allow
  107.  
  108. you can just condense this into
  109.  
  110. add_ace group.admin easyadmin allow
  111. since you want to grant all permissions anyway.
  112.  
  113.  
  114. Reply
  115.  
  116. Lawrence_Tech
  117.  
  118. Lawrence_Tech
  119. Feb 21
  120. you want the paste bin of the whole thing
  121.  
  122. https://pastebin.com/7G3UAmam
  123.  
  124. Reply
  125.  
  126. Blumlaut
  127. Feb 21
  128. in any case
  129. if you really want to debug it, add a
  130.  
  131. print(tostring(permission))
  132. here:
  133. github.com
  134. Bluethefurry/EasyAdmin/blob/master/admin_client.lua#L26
  135. RegisterNetEvent("EasyAdmin:SetSetting")
  136. RegisterNetEvent("EasyAdmin:SetLanguage")
  137.  
  138. RegisterNetEvent("EasyAdmin:TeleportRequest")
  139. RegisterNetEvent("EasyAdmin:SlapPlayer")
  140. RegisterNetEvent("EasyAdmin:FreezePlayer")
  141. RegisterNetEvent("EasyAdmin:CaptureScreenshot")
  142.  
  143.  
  144. AddEventHandler('EasyAdmin:adminresponse', function(response,permission)
  145. permissions[response] = permission
  146. if permission == true then
  147. isAdmin = true
  148. end
  149. end)
  150.  
  151. AddEventHandler('EasyAdmin:SetSetting', function(setting,state)
  152. settings[setting] = state
  153. end)
  154.  
  155. AddEventHandler('EasyAdmin:SetLanguage', function(newstrings)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement