Skip to content

Using roles on your GDPS

Cooper edited this page Jul 4, 2024 · 6 revisions

Note: This tutorial uses phpMyAdmin.

Setting up a role

  1. Open up your database and go to the "roles" table.
  2. Press the Insert button and set the role id to some number. This number can only be used once.
  3. Set the priority - if it's the highest role a user has, it shows over everything else.
  4. Set the name to whatever you want.
  5. Set all roles UNTIL modipCategory to 1 (yes) or 0 (no) based on if you want the role to have that. If you want the role to be given to everyone, set isDefault to 1.
    honestly im not sure what modipCategory does, so if someone knows, let me (kingminer7) know.
  6. Set commentColor to what color you want the comments in RGB. Make sure there are no spaces! Format like XXX,XXX,XXX
    Example: A shade of cyan is 000,174,255 | Here's Google's color picker
  7. Set the modBadgeLevel to what badge you want to show. 1 is the Moderator badge (yellow and blue) and 2 is the Elder Moderator badge (pink and green)
  8. Click go and your role should have been created.

Giving a user a role.

This step is much simpler. Make sure both the role and user exist first.

  1. Open up your database and go to the "roleassign" table.
  2. Press the Insert button and set the assign id to some number. This number can only be used once.
  3. Set the role id to the role id of the role you want to give. Set the account id to the account you want to give the role to.
  4. Click go. If you did it correctly, the user should have the role now.

This Sidebar has some extra information that might help you :)

  • Stuck? Read the wiki to know how to install the GDPS to your server.
  • Have an issue? Then feel free ask questions or problems in Discussions tab.
  • Want to go to a different page on the wiki? Click the dropdown titled "Pages" above this little section that you are reading right now.
Clone this wiki locally