Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

7 Screenshots

  • 418
  • 1
  • 130.94 kB

About MassWhitelist

This plugin allows for easy and fast whitelisting and blacklisting players for individual permissions! This plugin can be used for moded servers, but is ideal for event oriented servers. The plugin comes with a discord integration to record all actions done by the plugin through the UI!

Unlike other whitelisting plugins, MassWhitelist has a complete UI to make all actions user friendly. The following actions can be done through the UI:

  • Create New Permission
  • Add Whitelisted players
  • Remove Whitelisted players
  • Add Blacklisted players
  • Remove Blacklisted players
  • Clear all players in both lists
  • Remove Permission

The amount of permissions you can create is endless (I created more than 40 to test).

The MassWhitelist also has the functionality to make a:

  • Server join permission: Players that are not whitelist can not join (It will not allow the user to download the .map!)
  • Revoke on Unload: When the plugin is unloaded all the players whitelisted to that permission will no longer have it!

The plugin comes with hooks for every action so that there can be good communication between plugins, and a full range of chat commands in case one does not feel like using the UI.

Important! This plugin uses Image Library to optimize the handling of images! You can download Image Library from: https://umod.org/plugins/image-library

Commands

  • /masswhitelist --> Opens the UI
  • /newperm <name> <true/false> <true/false> --> Generates a new permission with the name, the first true/false is for a server join setting, and the second true/false is for the revoke on unload setting
  • /addWhitelist <name> <id list> or /addwl <name> <id list> --> Adds a list of id's into the whitelist of permission name! Yes, you can copy paste a list!
  • /whitelistplayer <name> <id> or /wlpl <name> <id> --> Adds a single player to the whitelist of permission name!
  • /addblacklist <name> <id list> or /addbl <name> <id list> --> Adds a list of id's into the blacklist of permission name! Yes, you can copy paste a list!
  • /blacklistplayer <name> <id> or /blpl <name> <id> --> Adds a single player to the blacklist of permission name!
  • /unblacklistplayer <name> <id> or /unblpl <name> <id> --> Removes a single player to the blacklist of permission name!
  • /unwhitelistplayer <name> <id> or /unwlpl <name> <id> --> Removes a single player to the whitelist of permission name!
  • /removeblacklist <name> <id list> or /rembl <name> <id list> --> Removes a list of id's from the blacklist of permission name! Yes, you can copy paste a list!
  • /removewhitelist <name> <id list> or /remwl <name> <id list> --> Removes a list of id's from the whitelist of permission name! Yes, you can copy paste a list!
  • /revokeall <name> or /revall <name>  --> Removes all id's from both the whitelist and blacklist
  • /removeperm <name> or /remperm <name>  --> Removes the permission from the server

Discord

The plugin comes with a discord integration that sends an embed into the channel of your choice! This allows for a log of what has been done and by who. Be aware that it might spam that channel if players are whitelisted/blacklisted individually!

To make the discord integration work you just have to add the discord webhook into the config file

Hooks

If the hook returns a string it is due to an error! If the hooks worked properly it will return a boolean.

  • object AddNewPermission(string PermName, List<ulong> whitelist, List<ulong> blacklist, bool ServerPerm, bool remove)
  • object AddWhiteList(string PermName, List<ulong> whitelist)
  • object AddWhiteListPlayer(string PermName, ulong PlayerID)
  • object AddBlackList(string name, List<ulong> blacklist)
  • object AddBlackListPlayer(string PermName, ulong PlayerID)
  • object RemoveBlackListPlayer(string PermName, ulong PlayerID)
  • object RemoveWhiteListPlayer(string PermName, ulong PlayerID)
  • object RemoveBlackList(string name, List<ulong> blacklist)
  • object RemoveWhiteList(string PermName, List<ulong> whitelist)
  • object MassRevokePermission(string PermName)
  • object RemovePermission(string PermName)

Default Config

If for some reason you manage to break the config file, you can use this default config:

{
"Permission List": [
{
"permission": "masswhitelist.server",
"whitelisted": [],
"blacklisted": [],
"serverjoin": true,
"RevokeOnUnload": false
}
],
"Discord Webhook": "",
"Discord Color": "#FF8F00"
}

 


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.


2,041 files sold to 243 customers and $26,322.09 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.