SHARE
TWEET

Untitled

a guest Mar 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Check out the tutorial: https://devforum.roblox.com/t/checkmein-3-1-manual/236337
  3.  
  4. Warning: Using CheckMeIn requires a license. Buy one here: https://www.roblox.com/games/1202761809/CheckMeIn-Portal
  5.  
  6. Need help? Please refer to the tutorial.
  7. --]]
  8.  
  9. return {
  10.  
  11. ['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
  12.     ['Standard Suite'] = false;
  13.     ['Premium Suite'] = {5917349};
  14. }; -- Note that in order for a room type to be given to a player, they must own at least one of the connected gamepasses.
  15.  
  16. ['PCSettings'] = { -- Previously Machine Settings, sets permissions to use the CheckMeIn GUI
  17.     ['groupId'] = 4730073; -- Obvious. False to disable.
  18.     ['minRankEnabled'] = true; -- Set this to false if you want a table of rank numbers (RankTable) to be able to use the GUI.
  19.     ['minRank'] = 4; -- Set this to the minimum rank required to use the GUI. (only applies if minRankEnabled)
  20.     ['RankTable'] = {}; -- Format: {RankNumber,RankNumber}, Insert rank values in this table that should be able to use the GUI. (only applies if not minRankEnabled)
  21.     ['PopUp'] = true; -- Set to true to send a prompt to the customer when an employee is trying to check them in/out. Recommended when using Points.
  22.     ['Timer'] = 5; -- Amount in seconds the pop-up is put on the players screen (default: 5)
  23. };
  24.  
  25. --[[
  26. Please Note:
  27.  
  28. 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.
  29. --]]
  30.  
  31. ['StaffCard'] = { -- Sets staff card settings
  32.     ['Enabled'] = true; -- If set to false, PCSettings will be used.
  33.  
  34.     ['groupId'] = 4730073;
  35.     ['minRankEnabled'] = true; -- Set this to false if you want a table of rank numbers (RankTable) to be able to use the staff card.
  36.     ['minRank'] = 4; -- Set this to the minimum rank required to use the staff card. (only applies if minRankEnabled)
  37.     ['RankTable'] = {}; -- Format: {RankNumber,RankNumber}, Insert rank values in this table that should be able to use the staff card. (only applies if not minRankEnabled)
  38. };
  39.  
  40. ['SelfCheckIn'] = { -- Self check in settings.
  41.     ['Enabled'] = true; -- Set to true to enable. Standard licenses can use the self checkin, but can not customize it.
  42.  
  43.     ['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})
  44.     ['RoomTypes'] = {'Standard Suite'}; -- Set to a table of room types to enable. Only allows users to check themselves in to specified rooms. ex: {'Standard Suite','Premium Suite'}
  45.     ['ShowNotOwned'] = true; -- Set to false to disable. Shows users all room types available, regardless if they own the connected gamepass.  
  46. };
  47.  
  48. ['ShutdownOnUpdate'] = true; --If set to true, your server will shut down when CheckMeIn is updated, to install the update. (wip)
  49.  
  50.  
  51. -- SETTINGS BELOW ARE FOR ENTERPRISE LICENSES ONLY. ATTEMPTING TO CHANGE THEM WITH A STANDARD LICENSE WILL NOT WORK ---
  52.  
  53.  
  54. ['Webhook'] = { -- connect CheckMeIn to Discord (beta)
  55.     ['Enabled'] = false; -- Use Discord Webhooks
  56.  
  57.     ['URL'] = 'https://discordapp.com/api/webhooks/353526186967826432/tH6oqvrUlHYEjT0aLeCKbyRVzUmiObMHJsqOKx00diWhVMBKahK1K8FIfxfj4xh-EFgM'; -- The URL of your webhook (not to your chat!)
  58.     --[[ To get URL:
  59.         1. Open the settings panel on your server
  60.         2. On the sidepanel, click Webhooks
  61.         3. Create a new Webhook
  62.         4. At the bottom of the creation page, you will see the 'Webhook URL'. Copy this, and paste it into the URL value.
  63.         5. You're done! --]]
  64.  
  65.     ['CheckIn'] = true; -- Alert when someone is checked in
  66.     ['CheckOut'] = true; -- Alert when someone is checked out
  67.     ['StartMessage'] = true; -- Alert when the game starts
  68.     ['SuspectedExploiter'] = true;
  69. };
  70.  
  71. ['AnimateDoorsOnClient'] = true; -- Set to true to play door animations from LocalScripts. Results in much smoother animations. Only works with FilteringEnabled.
  72.  
  73. ['Points'] = { -- Reward points for working
  74.     ['Enabled'] = true;
  75.    
  76.     ['Award'] = 1; -- Amount of points awarded per customer helped. (must be a number)
  77.  
  78.     ['Function'] = true; -- Set to true to enable the PointsAwarded Function.
  79.     ['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).
  80.     warn(Employee.Name..'|'..newPoints)
  81.     Employee:WaitForChild('leaderstats'):WaitForChild('Points').Value = newPoints
  82.     end; -- Recommended only for scripters
  83.    
  84.     ['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
  85. };
  86. }
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