Advertisement
Guest User

Untitled

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