SHARE
TWEET

CMI Config

a guest Jan 21st, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Thank you for testing CheckMeIn 3.1. I hope you enjoy this preview of the future of CheckMeIn. Send bug reports to wind_o.
  3. --]]
  4.  
  5. return {
  6.  
  7. ['RoomTypes'] = { -- Add a new value like the one on line 5. The string represents the name of the room, and the table represents the assetId(s) one must own in order to use the room type. *false = none required
  8.     ['Room'] = false;
  9.     ['Suite'] = false;
  10. }; -- Note that in order for a room type to be given to a player, they must own at least one of the connected gamepasses.
  11.  
  12. ['PCSettings'] = { -- Previously Machine Settings, sets permissions to use the CheckMeIn GUI
  13.     ['groupId'] = 2962121; -- Obvious. False to disable.
  14.     ['minRankEnabled'] = true; -- Set this to false if you want a table of rank numbers (RankTable) to be able to use the GUI.
  15.     ['minRank'] = 5; -- Set this to the minimum rank required to use the GUI. (only applies if minRankEnabled)
  16.     ['RankTable'] = {}; -- Format: {RankNumber,RankNumber}, Insert rank values in this table that should be able to use the GUI. (only applies if not minRankEnabled)
  17.     ['PopUp'] = false; -- Set to true to send a prompt to the customer when an employee is trying to check them in/out. Recommended when using Points.
  18.     ['Timer'] = 5; -- Amount in seconds the pop-up is put on the players screen (default: 5)
  19. };
  20.  
  21. --[[
  22. Please Note:
  23.  
  24. CheckMeIn 3.1 no longer has a staff card. Instead, employees should click the black pad on the lock of the door to open it.
  25. --]]
  26.  
  27. ['StaffCard'] = { -- Sets staff card settings
  28.     ['Enabled'] = true; -- If set to false, PCSettings will be used.
  29.  
  30.     ['groupId'] = 2962121;
  31.     ['minRankEnabled'] = true; -- Set this to false if you want a table of rank numbers (RankTable) to be able to use the staff card.
  32.     ['minRank'] = 5; -- Set this to the minimum rank required to use the staff card. (only applies if minRankEnabled)
  33.     ['RankTable'] = {}; -- Format: {RankNumber,RankNumber}, Insert rank values in this table that should be able to use the staff card. (only applies if not minRankEnabled)
  34. };
  35.  
  36. ['SelfCheckIn'] = { -- Self check in settings.
  37.     ['Enabled'] = true; -- Set to true to enable. Standard licenses can use the self checkin, but can not customize it.
  38.  
  39.     ['Gamepass'] = false; -- Set to gamepass number in a table to enable. Only allows users with certain gamepass to use self checkin. (must be a table or false -> ex: {assetId,assetId})
  40.     ['RoomTypes'] = false; -- Set to a table of room types to enable. Only allows users to check themselves in to specified rooms. ex: {'Standard Suite','Premium Suite'}
  41.     ['ShowNotOwned'] = true; -- Set to false to disable. Shows users all room types available, regardless if they own the connected gamepass.  
  42. };
  43.  
  44. ['ShutdownOnUpdate'] = true; --If set to true, your server will shut down when CheckMeIn is updated, to install the update. (wip)
  45.  
  46.  
  47. -- SETTINGS BELOW ARE FOR ENTERPRISE LICENSES ONLY. ATTEMPTING TO CHANGE THEM WITH A STANDARD LICENSE WILL NOT WORK ---
  48.  
  49.  
  50. ['Webhook'] = { -- connect CheckMeIn to Discord (beta)
  51.     ['Enabled'] = false; -- Use Discord Webhooks
  52.  
  53.     ['URL'] = 'https://discordapp.com/api/webhooks/353526186967826432/tH6oqvrUlHYEjT0aLeCKbyRVzUmiObMHJsqOKx00diWhVMBKahK1K8FIfxfj4xh-EFgM'; -- The URL of your webhook (not to your chat!)
  54.     --[[ To get URL:
  55.         1. Open the settings panel on your server
  56.         2. On the sidepanel, click Webhooks
  57.         3. Create a new Webhook
  58.         4. At the bottom of the creation page, you will see the 'Webhook URL'. Copy this, and paste it into the URL value.
  59.         5. You're done! --]]
  60.  
  61.     ['CheckIn'] = true; -- Alert when someone is checked in
  62.     ['CheckOut'] = true; -- Alert when someone is checked out
  63.     ['StartMessage'] = true; -- Alert when the game starts
  64.     ['SuspectedExploiter'] = true;
  65. };
  66.  
  67. ['AnimateDoorsOnClient'] = true; -- Set to true to play door animations from LocalScripts. Results in much smoother animations. Only works with FilteringEnabled.
  68.  
  69. ['Points'] = { -- Reward points for working
  70.     ['Enabled'] = true;
  71.    
  72.     ['Award'] = 1; -- Amount of points awarded per customer helped. (must be a number)
  73.  
  74.     ['Function'] = true; -- Set to true to enable the PointsAwarded Function.
  75.     ['PointsAwarded'] = function(newPoints,Employee) -- Runs every time points are awarded to anyone. newPoints is the new total value of points the employee has, and Employee is the employee (Player).
  76.     warn(Employee.Name..'|'..newPoints)
  77.     Employee:WaitForChild('leaderstats'):WaitForChild('Points').Value = newPoints
  78.     --[[if newPoints >= 5 then
  79.         print("Has enough for a promotion")
  80.     end]]--
  81.     end; -- Recommended only for scripters
  82.    
  83.     ['Datastore'] = 'cmipoints'; -- Scope of the datastore. Change to 'CheckMeIn' to transfer data from CheckMeIn 2.0. Don't change this unless it interferes with your own scripts or you want to transfer data from 2.0
  84. };
  85. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top