Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[ Do not touch these ]--
- WhitelistN = WhitelistN or {}
- WhitelistN.Config = WhitelistN.Config or {}
- WhitelistN.Action = WhitelistN.Action or {}
- -------------------------------------------------
- --[ START CONFIGURATION HERE ]--
- --[ By enablding <CrossComp> you will not get most of the featurs with this script... whitelist, banning.. etc!! ]--
- WhitelistN.Config.CrossComp = false --[ THIS WILL MAKE RANKS SYNC TO THE FORUMS. NOT FROM THE FORUMS -> INGAME ]--
- WhitelistN.Config.ForumDatabase = 1 --[ 1: IPB | 2: MyBB | 3: Xenforo | 4: VB ]--
- WhitelistN.Config.MakeGuests = true --[ Make all spawn players guests. Until it finds their rank. (Very secure and useful) ]--
- WhitelistN.Config.Interval = 1200 --[ Time in seconds that it resyncs ingame users ]--
- WhitelistN.Config.EnableBanRanks = false --[ kicks players with a certain group ID ]--
- WhitelistN.Config.EnableWhitelistOnly = false --[ makes the server whitelist only join ]--
- WhitelistN.Config.EnableWhitelistOnlyMessage = "This server is currently whitelist only. Apply for whitelist!"
- WhitelistN.Config.EnableDARKRPSupport = false --[ enables darkrp support ]--
- WhitelistN.Config.DefaultGroup = "user" --[ Default rank to set to until it finds their rank reference ]--
- WhitelistN.Config.AccessCommand = "!whitelistmenu" --[ Command to open the admin menu ]--
- WhitelistN.Config.AccessGroups = {"Co-Owner", "superadmin"} --[ Groups allowed to open the whitelist admin menu! ]--
- --[ SERVERGUARD CONFIGURATION ]--
- WhitelistN.Config.SG_UsingServerguard = false --[ Set to TRUE to enable Serverguard support ]--
- WhitelistN.Config.SG_DefaultRank = "user" --[ Default rank to set to until it finds their rank reference ]--
- --[ DATABASE CONFIGURATION ]--
- WhitelistN.Config.SQLModule = "tmysql4" --[ tmysql4 or mysqloo ]--
- WhitelistN.Config.DatabaseInfo = {
- Hostname = "localhost",
- User = "goliadco_franks",
- Password = "Casper2119",
- DatabaseName = "goliadco_franks",
- Port = ,
- }
- --[ RANK CONFIGURATION ]--
- --[ SYNTAX: ForumID = ID of the forum group, InGameRank = want rank you want them to be ]--
- WhitelistN.Config.Ranks = {
- {ForumID = 15, InGameRank = 'Co-Owner'},
- {ForumID = 15, InGameRank = 'owner'},
- }
- --[ SteamIDs listed here will be ignored by the system completly! ]--
- WhitelistN.Config.IgnoreIDs = {
- "STEAMID HERE",
- "STEAMID HERE",
- }
- --[ BANNED RANK CONFIGURATION ]--
- --[ These ranks are unable to join the server if enabled ]--
- WhitelistN.Config.BanRanks = {
- 99,
- 100,
- }
- --[ WHITELIST CONFIGURATION ]--
- --[ These ranks are allowed to join when whitelist is enabled ]--
- WhitelistN.Config.WhitelistOnlyRanks = {99, 100}
- --[ IPB DATABASE CONFIGURATION ]--
- --[ Only edit if you know what you're doing. These settings are default and normally don't need to be changed! ]--
- WhitelistN.Config.IPB_DatabaseTable = "core_members" --[ table to select ]--
- WhitelistN.Config.IPB_DatabaseWhere = "steamid" --[ name for steamid data ]--
- WhitelistN.Config.IPB_DatabaseUpdate = "member_group_id" --[ Used for syncing ranks ingame -> forums. This is their column you want to change ]--
- WhitelistN.Config.IPB_DatabaseData = { "member_group_id", "mgroup_others"} --[ First column will be their rank. ]--
- --[ MyBB DATABASE CONFIGURATION ]--
- --[ Make sure to set your prefix to whatever you used when installing MyBB. Default is 'mybb_' ]--
- WhitelistN.Config.MyBB_DatabaseTable = "mybb_users" --[ table to select [MAKE SURE TO CHECK PREFIX: DEFAULT: mybb_ ]
- WhitelistN.Config.MyBB_DatabaseWhere = "loginname" --[ name for steamid data ]--
- WhitelistN.Config.MyBB_DatabaseUpdate = "usergroup" --[ Used for syncing ranks ingame -> forums. This is their column you want to change ]--
- WhitelistN.Config.MyBB_DatabaseData = { "usergroup", "additionalgroups"} --[ [Always have primary group first] data to select ]--
- --[ Xenforo DATABASE CONFIGURATION ]--
- --[ Only edit if you know what you're doing. These settings are default and normally don't need to be changed! ]--
- WhitelistN.Config.XF_DatabaseTable = "xf_user_external_auth" --[ don't touch unless you know what you're doing. ]--
- WhitelistN.Config.XF_DatabaseTable2 = "xf_user" --[ don't touch unless you know what you're doing. ]--
- WhitelistN.Config.XF_DatabaseWhere = "provider_key" --[ don't touch unless you know what you're doing. ]--
- WhitelistN.Config.XF_DatabaseSelect = "user_id" --[ don't touch unless you know what you're doing. ]--
- WhitelistN.Config.XF_DatabaseUpdate = "user_group_id" --[ Used for syncing ranks ingame -> forums. This is their column you want to change ]--
- WhitelistN.Config.XF_DatabaseData = { "user_group_id", "secondary_group_ids"} --[ [Always have primary group first] data to select ]--
- --[ VB DATABASE CONFIGURATION ]--
- --[ Only edit if you know what you're doing. These settings are default and normally don't need to be changed! ]--
- WhitelistN.Config.VB_DatabaseTable = "user" --[ don't touch unless you know what you're doing. ]--
- WhitelistN.Config.VB_DatabaseWhere = "steam_code" --[ don't touch unless you know what you're doing. ]--
- WhitelistN.Config.VB_DatabaseUpdate = "usergroupid" --[ Used for syncing ranks ingame -> forums. This is their column you want to change ]--
- WhitelistN.Config.VB_DatabaseData = { "usergroupid", "membergroupids"} --[ [Always have primary group first] data to select ]--
- /*
- Thank you for purchasing. Please send any questions/requests via support ticket. I will answer as quickly as possible, or add my steam and leave a comment explaining.
- Thanks -Nykez
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement