@takaro/modules 0.0.0-next.0da151e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/README.md +3 -0
  2. package/dist/BuiltinModule.d.ts +62 -0
  3. package/dist/BuiltinModule.d.ts.map +1 -0
  4. package/dist/BuiltinModule.js +245 -0
  5. package/dist/BuiltinModule.js.map +1 -0
  6. package/dist/community-modules.json +21 -0
  7. package/dist/dto/base.d.ts +7 -0
  8. package/dist/dto/base.d.ts.map +1 -0
  9. package/dist/dto/base.js +28 -0
  10. package/dist/dto/base.js.map +1 -0
  11. package/dist/dto/discordEvents.d.ts +32 -0
  12. package/dist/dto/discordEvents.d.ts.map +1 -0
  13. package/dist/dto/discordEvents.js +92 -0
  14. package/dist/dto/discordEvents.js.map +1 -0
  15. package/dist/dto/gameEvents.d.ts +83 -0
  16. package/dist/dto/gameEvents.d.ts.map +1 -0
  17. package/dist/dto/gameEvents.js +205 -0
  18. package/dist/dto/gameEvents.js.map +1 -0
  19. package/dist/dto/index.d.ts +54 -0
  20. package/dist/dto/index.d.ts.map +1 -0
  21. package/dist/dto/index.js +18 -0
  22. package/dist/dto/index.js.map +1 -0
  23. package/dist/dto/takaroEvents.d.ts +276 -0
  24. package/dist/dto/takaroEvents.d.ts.map +1 -0
  25. package/dist/dto/takaroEvents.js +794 -0
  26. package/dist/dto/takaroEvents.js.map +1 -0
  27. package/dist/main.d.ts +5 -0
  28. package/dist/main.d.ts.map +1 -0
  29. package/dist/main.js +35 -0
  30. package/dist/main.js.map +1 -0
  31. package/dist/modules/chatBridge/hooks/DiscordToGame.d.ts +2 -0
  32. package/dist/modules/chatBridge/hooks/DiscordToGame.d.ts.map +1 -0
  33. package/dist/modules/chatBridge/hooks/DiscordToGame.js +18 -0
  34. package/dist/modules/chatBridge/hooks/DiscordToGame.js.map +1 -0
  35. package/dist/modules/chatBridge/hooks/GameToDiscord.d.ts +2 -0
  36. package/dist/modules/chatBridge/hooks/GameToDiscord.d.ts.map +1 -0
  37. package/dist/modules/chatBridge/hooks/GameToDiscord.js +14 -0
  38. package/dist/modules/chatBridge/hooks/GameToDiscord.js.map +1 -0
  39. package/dist/modules/chatBridge/hooks/PlayerConnected.d.ts +2 -0
  40. package/dist/modules/chatBridge/hooks/PlayerConnected.d.ts.map +1 -0
  41. package/dist/modules/chatBridge/hooks/PlayerConnected.js +9 -0
  42. package/dist/modules/chatBridge/hooks/PlayerConnected.js.map +1 -0
  43. package/dist/modules/chatBridge/hooks/PlayerDisconnected.d.ts +2 -0
  44. package/dist/modules/chatBridge/hooks/PlayerDisconnected.d.ts.map +1 -0
  45. package/dist/modules/chatBridge/hooks/PlayerDisconnected.js +9 -0
  46. package/dist/modules/chatBridge/hooks/PlayerDisconnected.js.map +1 -0
  47. package/dist/modules/chatBridge/index.d.ts +5 -0
  48. package/dist/modules/chatBridge/index.d.ts.map +1 -0
  49. package/dist/modules/chatBridge/index.js +64 -0
  50. package/dist/modules/chatBridge/index.js.map +1 -0
  51. package/dist/modules/dailyRewards/commands/daily.d.ts +2 -0
  52. package/dist/modules/dailyRewards/commands/daily.d.ts.map +1 -0
  53. package/dist/modules/dailyRewards/commands/daily.js +103 -0
  54. package/dist/modules/dailyRewards/commands/daily.js.map +1 -0
  55. package/dist/modules/dailyRewards/commands/streak.d.ts +2 -0
  56. package/dist/modules/dailyRewards/commands/streak.d.ts.map +1 -0
  57. package/dist/modules/dailyRewards/commands/streak.js +34 -0
  58. package/dist/modules/dailyRewards/commands/streak.js.map +1 -0
  59. package/dist/modules/dailyRewards/commands/topstreak.d.ts +2 -0
  60. package/dist/modules/dailyRewards/commands/topstreak.d.ts.map +1 -0
  61. package/dist/modules/dailyRewards/commands/topstreak.js +44 -0
  62. package/dist/modules/dailyRewards/commands/topstreak.js.map +1 -0
  63. package/dist/modules/dailyRewards/functions/utils.d.ts +6 -0
  64. package/dist/modules/dailyRewards/functions/utils.d.ts.map +1 -0
  65. package/dist/modules/dailyRewards/functions/utils.js +32 -0
  66. package/dist/modules/dailyRewards/functions/utils.js.map +1 -0
  67. package/dist/modules/dailyRewards/hooks/dailyLoginCheck.d.ts +2 -0
  68. package/dist/modules/dailyRewards/hooks/dailyLoginCheck.d.ts.map +1 -0
  69. package/dist/modules/dailyRewards/hooks/dailyLoginCheck.js +19 -0
  70. package/dist/modules/dailyRewards/hooks/dailyLoginCheck.js.map +1 -0
  71. package/dist/modules/dailyRewards/index.d.ts +5 -0
  72. package/dist/modules/dailyRewards/index.d.ts.map +1 -0
  73. package/dist/modules/dailyRewards/index.js +127 -0
  74. package/dist/modules/dailyRewards/index.js.map +1 -0
  75. package/dist/modules/economyUtils/commands/balance.d.ts +2 -0
  76. package/dist/modules/economyUtils/commands/balance.d.ts.map +1 -0
  77. package/dist/modules/economyUtils/commands/balance.js +7 -0
  78. package/dist/modules/economyUtils/commands/balance.js.map +1 -0
  79. package/dist/modules/economyUtils/commands/claim.d.ts +2 -0
  80. package/dist/modules/economyUtils/commands/claim.d.ts.map +1 -0
  81. package/dist/modules/economyUtils/commands/claim.js +35 -0
  82. package/dist/modules/economyUtils/commands/claim.js.map +1 -0
  83. package/dist/modules/economyUtils/commands/confirmTransfer.d.ts +2 -0
  84. package/dist/modules/economyUtils/commands/confirmTransfer.d.ts.map +1 -0
  85. package/dist/modules/economyUtils/commands/confirmTransfer.js +38 -0
  86. package/dist/modules/economyUtils/commands/confirmTransfer.js.map +1 -0
  87. package/dist/modules/economyUtils/commands/grantCurrency.d.ts +2 -0
  88. package/dist/modules/economyUtils/commands/grantCurrency.d.ts.map +1 -0
  89. package/dist/modules/economyUtils/commands/grantCurrency.js +28 -0
  90. package/dist/modules/economyUtils/commands/grantCurrency.js.map +1 -0
  91. package/dist/modules/economyUtils/commands/revokeCurrency.d.ts +2 -0
  92. package/dist/modules/economyUtils/commands/revokeCurrency.d.ts.map +1 -0
  93. package/dist/modules/economyUtils/commands/revokeCurrency.js +28 -0
  94. package/dist/modules/economyUtils/commands/revokeCurrency.js.map +1 -0
  95. package/dist/modules/economyUtils/commands/shop.d.ts +2 -0
  96. package/dist/modules/economyUtils/commands/shop.d.ts.map +1 -0
  97. package/dist/modules/economyUtils/commands/shop.js +69 -0
  98. package/dist/modules/economyUtils/commands/shop.js.map +1 -0
  99. package/dist/modules/economyUtils/commands/topCurrency.d.ts +2 -0
  100. package/dist/modules/economyUtils/commands/topCurrency.d.ts.map +1 -0
  101. package/dist/modules/economyUtils/commands/topCurrency.js +22 -0
  102. package/dist/modules/economyUtils/commands/topCurrency.js.map +1 -0
  103. package/dist/modules/economyUtils/commands/transfer.d.ts +2 -0
  104. package/dist/modules/economyUtils/commands/transfer.d.ts.map +1 -0
  105. package/dist/modules/economyUtils/commands/transfer.js +55 -0
  106. package/dist/modules/economyUtils/commands/transfer.js.map +1 -0
  107. package/dist/modules/economyUtils/cronJobs/zombieKillReward.d.ts +2 -0
  108. package/dist/modules/economyUtils/cronJobs/zombieKillReward.d.ts.map +1 -0
  109. package/dist/modules/economyUtils/cronJobs/zombieKillReward.js +66 -0
  110. package/dist/modules/economyUtils/cronJobs/zombieKillReward.js.map +1 -0
  111. package/dist/modules/economyUtils/index.d.ts +5 -0
  112. package/dist/modules/economyUtils/index.d.ts.map +1 -0
  113. package/dist/modules/economyUtils/index.js +192 -0
  114. package/dist/modules/economyUtils/index.js.map +1 -0
  115. package/dist/modules/geoBlock/hooks/IPDetected.d.ts +2 -0
  116. package/dist/modules/geoBlock/hooks/IPDetected.d.ts.map +1 -0
  117. package/dist/modules/geoBlock/hooks/IPDetected.js +50 -0
  118. package/dist/modules/geoBlock/hooks/IPDetected.js.map +1 -0
  119. package/dist/modules/geoBlock/index.d.ts +9 -0
  120. package/dist/modules/geoBlock/index.d.ts.map +1 -0
  121. package/dist/modules/geoBlock/index.js +329 -0
  122. package/dist/modules/geoBlock/index.js.map +1 -0
  123. package/dist/modules/gimme/commands/gimme.d.ts +2 -0
  124. package/dist/modules/gimme/commands/gimme.d.ts.map +1 -0
  125. package/dist/modules/gimme/commands/gimme.js +25 -0
  126. package/dist/modules/gimme/commands/gimme.js.map +1 -0
  127. package/dist/modules/gimme/index.d.ts +5 -0
  128. package/dist/modules/gimme/index.d.ts.map +1 -0
  129. package/dist/modules/gimme/index.js +75 -0
  130. package/dist/modules/gimme/index.js.map +1 -0
  131. package/dist/modules/highPingKicker/cronJobs/Ping check.d.ts +2 -0
  132. package/dist/modules/highPingKicker/cronJobs/Ping check.d.ts.map +1 -0
  133. package/dist/modules/highPingKicker/cronJobs/Ping check.js +59 -0
  134. package/dist/modules/highPingKicker/cronJobs/Ping check.js.map +1 -0
  135. package/dist/modules/highPingKicker/index.d.ts +5 -0
  136. package/dist/modules/highPingKicker/index.d.ts.map +1 -0
  137. package/dist/modules/highPingKicker/index.js +44 -0
  138. package/dist/modules/highPingKicker/index.js.map +1 -0
  139. package/dist/modules/lottery/commands/buyTicket.d.ts +2 -0
  140. package/dist/modules/lottery/commands/buyTicket.d.ts.map +1 -0
  141. package/dist/modules/lottery/commands/buyTicket.js +51 -0
  142. package/dist/modules/lottery/commands/buyTicket.js.map +1 -0
  143. package/dist/modules/lottery/commands/nextDraw.d.ts +2 -0
  144. package/dist/modules/lottery/commands/nextDraw.d.ts.map +1 -0
  145. package/dist/modules/lottery/commands/nextDraw.js +34 -0
  146. package/dist/modules/lottery/commands/nextDraw.js.map +1 -0
  147. package/dist/modules/lottery/commands/viewTickets.d.ts +2 -0
  148. package/dist/modules/lottery/commands/viewTickets.d.ts.map +1 -0
  149. package/dist/modules/lottery/commands/viewTickets.js +20 -0
  150. package/dist/modules/lottery/commands/viewTickets.js.map +1 -0
  151. package/dist/modules/lottery/cronJobs/drawLottery.d.ts +2 -0
  152. package/dist/modules/lottery/cronJobs/drawLottery.d.ts.map +1 -0
  153. package/dist/modules/lottery/cronJobs/drawLottery.js +96 -0
  154. package/dist/modules/lottery/cronJobs/drawLottery.js.map +1 -0
  155. package/dist/modules/lottery/index.d.ts +5 -0
  156. package/dist/modules/lottery/index.d.ts.map +1 -0
  157. package/dist/modules/lottery/index.js +85 -0
  158. package/dist/modules/lottery/index.js.map +1 -0
  159. package/dist/modules/playerOnboarding/commands/starterkit.d.ts +2 -0
  160. package/dist/modules/playerOnboarding/commands/starterkit.d.ts.map +1 -0
  161. package/dist/modules/playerOnboarding/commands/starterkit.js +47 -0
  162. package/dist/modules/playerOnboarding/commands/starterkit.js.map +1 -0
  163. package/dist/modules/playerOnboarding/hooks/playerConnected.d.ts +2 -0
  164. package/dist/modules/playerOnboarding/hooks/playerConnected.d.ts.map +1 -0
  165. package/dist/modules/playerOnboarding/hooks/playerConnected.js +11 -0
  166. package/dist/modules/playerOnboarding/hooks/playerConnected.js.map +1 -0
  167. package/dist/modules/playerOnboarding/index.d.ts +5 -0
  168. package/dist/modules/playerOnboarding/index.d.ts.map +1 -0
  169. package/dist/modules/playerOnboarding/index.js +83 -0
  170. package/dist/modules/playerOnboarding/index.js.map +1 -0
  171. package/dist/modules/serverMessages/cronJobs/Automated message.d.ts +2 -0
  172. package/dist/modules/serverMessages/cronJobs/Automated message.d.ts.map +1 -0
  173. package/dist/modules/serverMessages/cronJobs/Automated message.js +41 -0
  174. package/dist/modules/serverMessages/cronJobs/Automated message.js.map +1 -0
  175. package/dist/modules/serverMessages/index.d.ts +5 -0
  176. package/dist/modules/serverMessages/index.d.ts.map +1 -0
  177. package/dist/modules/serverMessages/index.js +45 -0
  178. package/dist/modules/serverMessages/index.js.map +1 -0
  179. package/dist/modules/teleports/commands/deletetp.d.ts +2 -0
  180. package/dist/modules/teleports/commands/deletetp.d.ts.map +1 -0
  181. package/dist/modules/teleports/commands/deletetp.js +20 -0
  182. package/dist/modules/teleports/commands/deletetp.js.map +1 -0
  183. package/dist/modules/teleports/commands/deletewaypoint.d.ts +2 -0
  184. package/dist/modules/teleports/commands/deletewaypoint.d.ts.map +1 -0
  185. package/dist/modules/teleports/commands/deletewaypoint.js +20 -0
  186. package/dist/modules/teleports/commands/deletewaypoint.js.map +1 -0
  187. package/dist/modules/teleports/commands/listwaypoints.d.ts +2 -0
  188. package/dist/modules/teleports/commands/listwaypoints.d.ts.map +1 -0
  189. package/dist/modules/teleports/commands/listwaypoints.js +17 -0
  190. package/dist/modules/teleports/commands/listwaypoints.js.map +1 -0
  191. package/dist/modules/teleports/commands/setprivate.d.ts +2 -0
  192. package/dist/modules/teleports/commands/setprivate.d.ts.map +1 -0
  193. package/dist/modules/teleports/commands/setprivate.js +29 -0
  194. package/dist/modules/teleports/commands/setprivate.js.map +1 -0
  195. package/dist/modules/teleports/commands/setpublic.d.ts +2 -0
  196. package/dist/modules/teleports/commands/setpublic.d.ts.map +1 -0
  197. package/dist/modules/teleports/commands/setpublic.js +45 -0
  198. package/dist/modules/teleports/commands/setpublic.js.map +1 -0
  199. package/dist/modules/teleports/commands/settp.d.ts +2 -0
  200. package/dist/modules/teleports/commands/settp.d.ts.map +1 -0
  201. package/dist/modules/teleports/commands/settp.js +40 -0
  202. package/dist/modules/teleports/commands/settp.js.map +1 -0
  203. package/dist/modules/teleports/commands/setwaypoint.d.ts +2 -0
  204. package/dist/modules/teleports/commands/setwaypoint.d.ts.map +1 -0
  205. package/dist/modules/teleports/commands/setwaypoint.js +28 -0
  206. package/dist/modules/teleports/commands/setwaypoint.js.map +1 -0
  207. package/dist/modules/teleports/commands/teleport.d.ts +2 -0
  208. package/dist/modules/teleports/commands/teleport.d.ts.map +1 -0
  209. package/dist/modules/teleports/commands/teleport.js +68 -0
  210. package/dist/modules/teleports/commands/teleport.js.map +1 -0
  211. package/dist/modules/teleports/commands/teleportwaypoint.d.ts +2 -0
  212. package/dist/modules/teleports/commands/teleportwaypoint.d.ts.map +1 -0
  213. package/dist/modules/teleports/commands/teleportwaypoint.js +43 -0
  214. package/dist/modules/teleports/commands/teleportwaypoint.js.map +1 -0
  215. package/dist/modules/teleports/commands/tplist.d.ts +2 -0
  216. package/dist/modules/teleports/commands/tplist.d.ts.map +1 -0
  217. package/dist/modules/teleports/commands/tplist.js +46 -0
  218. package/dist/modules/teleports/commands/tplist.js.map +1 -0
  219. package/dist/modules/teleports/cronJobs/Waypoint reconciler.d.ts +2 -0
  220. package/dist/modules/teleports/cronJobs/Waypoint reconciler.d.ts.map +1 -0
  221. package/dist/modules/teleports/cronJobs/Waypoint reconciler.js +6 -0
  222. package/dist/modules/teleports/cronJobs/Waypoint reconciler.js.map +1 -0
  223. package/dist/modules/teleports/functions/utils.d.ts +14 -0
  224. package/dist/modules/teleports/functions/utils.d.ts.map +1 -0
  225. package/dist/modules/teleports/functions/utils.js +156 -0
  226. package/dist/modules/teleports/functions/utils.js.map +1 -0
  227. package/dist/modules/teleports/index.d.ts +5 -0
  228. package/dist/modules/teleports/index.d.ts.map +1 -0
  229. package/dist/modules/teleports/index.js +208 -0
  230. package/dist/modules/teleports/index.js.map +1 -0
  231. package/dist/modules/timedShutdown/cronJobs/Shutdown.d.ts +2 -0
  232. package/dist/modules/timedShutdown/cronJobs/Shutdown.d.ts.map +1 -0
  233. package/dist/modules/timedShutdown/cronJobs/Shutdown.js +7 -0
  234. package/dist/modules/timedShutdown/cronJobs/Shutdown.js.map +1 -0
  235. package/dist/modules/timedShutdown/cronJobs/warning.d.ts +2 -0
  236. package/dist/modules/timedShutdown/cronJobs/warning.d.ts.map +1 -0
  237. package/dist/modules/timedShutdown/cronJobs/warning.js +10 -0
  238. package/dist/modules/timedShutdown/cronJobs/warning.js.map +1 -0
  239. package/dist/modules/timedShutdown/index.d.ts +5 -0
  240. package/dist/modules/timedShutdown/index.d.ts.map +1 -0
  241. package/dist/modules/timedShutdown/index.js +43 -0
  242. package/dist/modules/timedShutdown/index.js.map +1 -0
  243. package/dist/modules/utils/commands/help.d.ts +2 -0
  244. package/dist/modules/utils/commands/help.d.ts.map +1 -0
  245. package/dist/modules/utils/commands/help.js +84 -0
  246. package/dist/modules/utils/commands/help.js.map +1 -0
  247. package/dist/modules/utils/commands/ping.d.ts +2 -0
  248. package/dist/modules/utils/commands/ping.d.ts.map +1 -0
  249. package/dist/modules/utils/commands/ping.js +6 -0
  250. package/dist/modules/utils/commands/ping.js.map +1 -0
  251. package/dist/modules/utils/index.d.ts +5 -0
  252. package/dist/modules/utils/index.d.ts.map +1 -0
  253. package/dist/modules/utils/index.js +52 -0
  254. package/dist/modules/utils/index.js.map +1 -0
  255. package/dist/modules.json +757 -0
  256. package/package.json +17 -0
  257. package/scripts/buildBuiltinJson.ts +81 -0
  258. package/src/BuiltinModule.ts +159 -0
  259. package/src/__tests__/aliases.integration.test.ts +90 -0
  260. package/src/__tests__/bugRepros.integration.test.ts +485 -0
  261. package/src/__tests__/builtinmodule.unit.test.ts +15 -0
  262. package/src/__tests__/commandArgs.integration.test.ts +291 -0
  263. package/src/__tests__/crossServerPlayer.integration.test.ts +176 -0
  264. package/src/__tests__/economy/claim.integration.test.ts +250 -0
  265. package/src/__tests__/economy/economyUtils.integration.test.ts +495 -0
  266. package/src/__tests__/economy/shop.integration.test.ts +177 -0
  267. package/src/__tests__/economy/zombieKillReward.integration.test.ts +293 -0
  268. package/src/__tests__/geoblock.integration.test.ts +322 -0
  269. package/src/__tests__/gimme.integration.test.ts +106 -0
  270. package/src/__tests__/help.integration.test.ts +314 -0
  271. package/src/__tests__/highPingKicker.integration.test.ts +618 -0
  272. package/src/__tests__/lottery.integration.test.ts +344 -0
  273. package/src/__tests__/modulePermission.integration.test.ts +387 -0
  274. package/src/__tests__/onboarding.integration.test.ts +122 -0
  275. package/src/__tests__/ping.integration.test.ts +36 -0
  276. package/src/__tests__/roleExpiry.integration.test.ts +78 -0
  277. package/src/__tests__/serverMessages.integration.test.ts +116 -0
  278. package/src/__tests__/systemConfigCooldown.integration.test.ts +84 -0
  279. package/src/__tests__/systemConfigCost.integration.test.ts +194 -0
  280. package/src/__tests__/teleports/listtp.integration.test.ts +189 -0
  281. package/src/__tests__/teleports/publicteleports.integration.test.ts +345 -0
  282. package/src/__tests__/teleports/teleport.integration.test.ts +153 -0
  283. package/src/__tests__/teleports/tpManagement.integration.test.ts +175 -0
  284. package/src/__tests__/teleports/waypoints.integration.test.ts +832 -0
  285. package/src/community-modules/README.md +5 -0
  286. package/src/community-modules/modules/vote.json +19 -0
  287. package/src/dto/base.ts +13 -0
  288. package/src/dto/discordEvents.ts +69 -0
  289. package/src/dto/gameEvents.ts +159 -0
  290. package/src/dto/index.ts +25 -0
  291. package/src/dto/takaroEvents.ts +525 -0
  292. package/src/main.ts +47 -0
  293. package/src/modules/.eslintrc +5 -0
  294. package/src/modules/chatBridge/hooks/DiscordToGame.js +18 -0
  295. package/src/modules/chatBridge/hooks/GameToDiscord.js +18 -0
  296. package/src/modules/chatBridge/hooks/PlayerConnected.js +11 -0
  297. package/src/modules/chatBridge/hooks/PlayerDisconnected.js +11 -0
  298. package/src/modules/chatBridge/index.ts +64 -0
  299. package/src/modules/dailyRewards/commands/daily.js +114 -0
  300. package/src/modules/dailyRewards/commands/streak.js +42 -0
  301. package/src/modules/dailyRewards/commands/topstreak.js +54 -0
  302. package/src/modules/dailyRewards/functions/utils.js +36 -0
  303. package/src/modules/dailyRewards/hooks/dailyLoginCheck.js +24 -0
  304. package/src/modules/dailyRewards/index.ts +138 -0
  305. package/src/modules/economyUtils/commands/balance.js +8 -0
  306. package/src/modules/economyUtils/commands/claim.js +42 -0
  307. package/src/modules/economyUtils/commands/confirmTransfer.js +55 -0
  308. package/src/modules/economyUtils/commands/grantCurrency.js +34 -0
  309. package/src/modules/economyUtils/commands/revokeCurrency.js +34 -0
  310. package/src/modules/economyUtils/commands/shop.js +87 -0
  311. package/src/modules/economyUtils/commands/topCurrency.js +29 -0
  312. package/src/modules/economyUtils/commands/transfer.js +73 -0
  313. package/src/modules/economyUtils/cronJobs/zombieKillReward.js +82 -0
  314. package/src/modules/economyUtils/index.ts +197 -0
  315. package/src/modules/geoBlock/hooks/IPDetected.js +53 -0
  316. package/src/modules/geoBlock/index.ts +333 -0
  317. package/src/modules/gimme/commands/gimme.js +30 -0
  318. package/src/modules/gimme/index.ts +76 -0
  319. package/src/modules/highPingKicker/cronJobs/Ping check.js +68 -0
  320. package/src/modules/highPingKicker/index.ts +44 -0
  321. package/src/modules/lottery/commands/buyTicket.js +64 -0
  322. package/src/modules/lottery/commands/nextDraw.js +47 -0
  323. package/src/modules/lottery/commands/viewTickets.js +28 -0
  324. package/src/modules/lottery/cronJobs/drawLottery.js +124 -0
  325. package/src/modules/lottery/index.ts +86 -0
  326. package/src/modules/playerOnboarding/commands/starterkit.js +61 -0
  327. package/src/modules/playerOnboarding/hooks/playerConnected.js +14 -0
  328. package/src/modules/playerOnboarding/index.ts +86 -0
  329. package/src/modules/serverMessages/cronJobs/Automated message.js +47 -0
  330. package/src/modules/serverMessages/index.ts +46 -0
  331. package/src/modules/teleports/commands/deletetp.js +25 -0
  332. package/src/modules/teleports/commands/deletewaypoint.js +24 -0
  333. package/src/modules/teleports/commands/listwaypoints.js +23 -0
  334. package/src/modules/teleports/commands/setprivate.js +39 -0
  335. package/src/modules/teleports/commands/setpublic.js +60 -0
  336. package/src/modules/teleports/commands/settp.js +50 -0
  337. package/src/modules/teleports/commands/setwaypoint.js +31 -0
  338. package/src/modules/teleports/commands/teleport.js +84 -0
  339. package/src/modules/teleports/commands/teleportwaypoint.js +57 -0
  340. package/src/modules/teleports/commands/tplist.js +62 -0
  341. package/src/modules/teleports/cronJobs/Waypoint reconciler.js +7 -0
  342. package/src/modules/teleports/functions/utils.js +189 -0
  343. package/src/modules/teleports/index.ts +217 -0
  344. package/src/modules/timedShutdown/cronJobs/Shutdown.js +8 -0
  345. package/src/modules/timedShutdown/cronJobs/warning.js +13 -0
  346. package/src/modules/timedShutdown/index.ts +45 -0
  347. package/src/modules/utils/commands/help.js +100 -0
  348. package/src/modules/utils/commands/ping.js +7 -0
  349. package/src/modules/utils/index.ts +53 -0
  350. package/tsconfig.build.json +10 -0
  351. package/tsconfig.json +9 -0
  352. package/typedoc.json +3 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/economyUtils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA6D,MAAM,wBAAwB,CAAC;AAEtH,qBAAa,YAAa,SAAQ,iBAAiB,CAAC,YAAY,CAAC;;CAkMhE"}
@@ -0,0 +1,192 @@
1
+ import { ModuleTransferDTO, ICommand, ICronJob, IPermission, ModuleTransferVersionDTO } from '../../BuiltinModule.js';
2
+ export class EconomyUtils extends ModuleTransferDTO {
3
+ constructor() {
4
+ super();
5
+ this.name = 'economyUtils';
6
+ this.author = 'Takaro';
7
+ this.supportedGames = ['all'];
8
+ this.versions = [
9
+ new ModuleTransferVersionDTO({
10
+ tag: '0.0.3',
11
+ description: 'A set of commands to allow players to manage their currency.',
12
+ configSchema: JSON.stringify({
13
+ $schema: 'http://json-schema.org/draft-07/schema#',
14
+ type: 'object',
15
+ properties: {
16
+ pendingAmount: {
17
+ title: 'Pending amount',
18
+ type: 'number',
19
+ description: 'When a player transfers money, they must confirm the transfer when the amount is equal or above this value. Set to 0 to disable.',
20
+ default: 0,
21
+ },
22
+ zombieKillReward: {
23
+ title: 'Zombie kill reward',
24
+ type: 'number',
25
+ description: 'The default amount of currency a player receives for killing a zombie. This can be overridden by roles.',
26
+ default: 1,
27
+ },
28
+ },
29
+ required: [],
30
+ additionalProperties: false,
31
+ }),
32
+ permissions: [
33
+ new IPermission({
34
+ permission: 'ECONOMY_UTILS_MANAGE_CURRENCY',
35
+ friendlyName: 'Manage currency',
36
+ description: 'Allows players to manage currency of other players. This includes granting and revoking currency.',
37
+ canHaveCount: false,
38
+ }),
39
+ new IPermission({
40
+ permission: 'ZOMBIE_KILL_REWARD_OVERRIDE',
41
+ friendlyName: 'Zombie kill reward override',
42
+ description: 'Allows a role to override the amount of currency a player receives for killing a entity.',
43
+ canHaveCount: true,
44
+ }),
45
+ ],
46
+ cronJobs: [
47
+ new ICronJob({
48
+ function: this.loadFn('cronJobs', 'zombieKillReward'),
49
+ name: 'zombieKillReward',
50
+ temporalValue: '*/5 * * * *',
51
+ }),
52
+ ],
53
+ commands: [
54
+ new ICommand({
55
+ function: this.loadFn('commands', 'balance'),
56
+ name: 'balance',
57
+ trigger: 'balance',
58
+ helpText: 'Check your balance.',
59
+ arguments: [],
60
+ }),
61
+ new ICommand({
62
+ function: this.loadFn('commands', 'topCurrency'),
63
+ name: 'topCurrency',
64
+ trigger: 'topcurrency',
65
+ helpText: 'List of the 10 players with the highest balance.',
66
+ arguments: [],
67
+ }),
68
+ new ICommand({
69
+ function: this.loadFn('commands', 'grantCurrency'),
70
+ name: 'grantCurrency',
71
+ trigger: 'grantcurrency',
72
+ helpText: 'Grant money to a player. The money is not taken from your own balance but is new currency.',
73
+ requiredPermissions: ['ECONOMY_UTILS_MANAGE_CURRENCY'],
74
+ arguments: [
75
+ {
76
+ name: 'receiver',
77
+ type: 'player',
78
+ helpText: 'The player to grant currency to.',
79
+ position: 0,
80
+ defaultValue: null,
81
+ },
82
+ {
83
+ name: 'amount',
84
+ type: 'number',
85
+ helpText: 'The amount of money.',
86
+ position: 1,
87
+ defaultValue: null,
88
+ },
89
+ ],
90
+ }),
91
+ new ICommand({
92
+ function: this.loadFn('commands', 'revokeCurrency'),
93
+ name: 'revokeCurrency',
94
+ trigger: 'revokecurrency',
95
+ helpText: 'Revokes money from a player. The money disappears.',
96
+ requiredPermissions: ['ECONOMY_UTILS_MANAGE_CURRENCY'],
97
+ arguments: [
98
+ {
99
+ name: 'receiver',
100
+ type: 'player',
101
+ helpText: 'The player to revoke currency from.',
102
+ position: 0,
103
+ defaultValue: null,
104
+ },
105
+ {
106
+ name: 'amount',
107
+ type: 'number',
108
+ helpText: 'The amount of money.',
109
+ position: 1,
110
+ defaultValue: null,
111
+ },
112
+ ],
113
+ }),
114
+ new ICommand({
115
+ function: this.loadFn('commands', 'confirmTransfer'),
116
+ name: 'confirmTransfer',
117
+ trigger: 'confirmtransfer',
118
+ helpText: 'Confirms a pending transfer.',
119
+ arguments: [],
120
+ }),
121
+ new ICommand({
122
+ function: this.loadFn('commands', 'transfer'),
123
+ name: 'transfer',
124
+ trigger: 'transfer',
125
+ helpText: 'Transfer money to another player.',
126
+ arguments: [
127
+ {
128
+ name: 'receiver',
129
+ type: 'player',
130
+ helpText: 'The player to transfer money to.',
131
+ position: 0,
132
+ defaultValue: null,
133
+ },
134
+ {
135
+ name: 'amount',
136
+ type: 'number',
137
+ helpText: 'The amount of money to transfer.',
138
+ position: 1,
139
+ defaultValue: null,
140
+ },
141
+ ],
142
+ }),
143
+ new ICommand({
144
+ function: this.loadFn('commands', 'claim'),
145
+ name: 'claim',
146
+ trigger: 'claim',
147
+ helpText: 'Claim your pending shop orders.',
148
+ arguments: [
149
+ {
150
+ name: 'all',
151
+ type: 'boolean',
152
+ helpText: 'If true, claim ALL pending orders. If false, claim only the first one.',
153
+ position: 0,
154
+ defaultValue: 'false',
155
+ },
156
+ ],
157
+ }),
158
+ new ICommand({
159
+ function: this.loadFn('commands', 'shop'),
160
+ name: 'shop',
161
+ trigger: 'shop',
162
+ helpText: 'Browse the shop and view available items.',
163
+ arguments: [
164
+ {
165
+ name: 'page',
166
+ type: 'number',
167
+ helpText: 'Display more items from the shop by specifying a page number.',
168
+ position: 0,
169
+ defaultValue: '1',
170
+ },
171
+ {
172
+ name: 'item',
173
+ type: 'number',
174
+ helpText: 'Select a specific item to view more details.',
175
+ position: 1,
176
+ defaultValue: '0',
177
+ },
178
+ {
179
+ name: 'action',
180
+ type: 'string',
181
+ helpText: 'Perform an action on the selected item. Currently only "buy" is supported.',
182
+ position: 2,
183
+ defaultValue: 'none',
184
+ },
185
+ ],
186
+ }),
187
+ ],
188
+ }),
189
+ ];
190
+ }
191
+ }
192
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/economyUtils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,wBAAwB,EAAE,MA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,iCAAiC;wBAC3C,SAAS,EAAE;4BACT;gCACE,IAAI,EAAE,KAAK;gCACX,IAAI,EAAE,SAAS;gCACf,QAAQ,EAAE,wEAAwE;gCAClF,QAAQ,EAAE,CAAC;gCACX,YAAY,EAAE,OAAO;6BACtB;yBACF;qBACF,CAAC;oBACF,IAAI,QAAQ,CAAC;wBACX,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC;wBACzC,IAAI,EAAE,MAAM;wBACZ,OAAO,EAAE,MAAM;wBACf,QAAQ,EAAE,2CAA2C;wBACrD,SAAS,EAAE;4BACT;gCACE,IAAI,EAAE,MAAM;gCACZ,IAAI,EAAE,QAAQ;gCACd,QAAQ,EAAE,+DAA+D;gCACzE,QAAQ,EAAE,CAAC;gCACX,YAAY,EAAE,GAAG;6BAClB;4BACD;gCACE,IAAI,EAAE,MAAM;gCACZ,IAAI,EAAE,QAAQ;gCACd,QAAQ,EAAE,8CAA8C;gCACxD,QAAQ,EAAE,CAAC;gCACX,YAAY,EAAE,GAAG;6BAClB;4BACD;gCACE,IAAI,EAAE,QAAQ;gCACd,IAAI,EAAE,QAAQ;gCACd,QAAQ,EAAE,4EAA4E;gCACtF,QAAQ,EAAE,CAAC;gCACX,YAAY,EAAE,MAAM;6BACrB;yBACF;qBACF,CAAC;iBACH;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPDetected.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPDetected.d.ts","sourceRoot":"","sources":["../../../../src/modules/geoBlock/hooks/IPDetected.js"],"names":[],"mappings":""}
@@ -0,0 +1,50 @@
1
+ import { takaro, data, checkPermission } from '@takaro/helpers';
2
+ async function main() {
3
+ const { gameServerId, player, pog } = data;
4
+ const { country } = data.eventData;
5
+ const { ban, banDuration, countries, message, mode } = data.module.userConfig;
6
+ async function handleAction() {
7
+ if (ban) {
8
+ const now = new Date();
9
+ const expiresAt = new Date(now.getTime() + banDuration * 1000);
10
+ await takaro.player.banControllerCreate({
11
+ gameServerId,
12
+ playerId: player.id,
13
+ until: expiresAt,
14
+ reason: message,
15
+ });
16
+ }
17
+ else {
18
+ await takaro.gameserver.gameServerControllerKickPlayer(gameServerId, player.id, {
19
+ reason: message,
20
+ });
21
+ }
22
+ }
23
+ const isImmune = checkPermission(pog, 'GEOBLOCK_IMMUNITY');
24
+ if (isImmune) {
25
+ console.log('Player has immunity, no action');
26
+ return;
27
+ }
28
+ if (mode === 'allow') {
29
+ if (countries.includes(country)) {
30
+ console.log('Allowed country detected, no action');
31
+ return;
32
+ }
33
+ console.log('Blocked country detected, performing actions');
34
+ await handleAction();
35
+ return;
36
+ }
37
+ if (mode === 'deny') {
38
+ if (countries.includes(country)) {
39
+ console.log('Blocked country detected, performing actions');
40
+ await handleAction();
41
+ return;
42
+ }
43
+ else {
44
+ console.log('Allowed country detected, no action');
45
+ return;
46
+ }
47
+ }
48
+ }
49
+ await main();
50
+ //# sourceMappingURL=IPDetected.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPDetected.js","sourceRoot":"","sources":["../../../../src/modules/geoBlock/hooks/IPDetected.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEhE,KAAK,UAAU,IAAI;IACjB,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAC3C,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC;IACnC,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAE9E,KAAK,UAAU,YAAY;QACzB,IAAI,GAAG,EAAE,CAAC;YACR,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;YACvB,M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AAC"}
@@ -0,0 +1,9 @@
1
+ import { ModuleTransferDTO } from '../../BuiltinModule.js';
2
+ export declare const countryCodes: {
3
+ code: string;
4
+ name: string;
5
+ }[];
6
+ export declare class GeoBlock extends ModuleTransferDTO<GeoBlock> {
7
+ constructor();
8
+ }
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/geoBlock/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgD,MAAM,wBAAwB,CAAC;AAKzG,eAAO,MAAM,YAAY;;;GAqPxB,CAAC;AAEF,qBAAa,QAAS,SAAQ,iBAAiB,CAAC,QAAQ,CAAC;;CAgFxD"}
@@ -0,0 +1,329 @@
1
+ import { ModuleTransferDTO, IHook, IPermission, ModuleTransferVersionDTO } from '../../BuiltinModule.js';
2
+ import { HookEvents } from '../../dto/index.js';
3
+ import { Duration } from 'luxon';
4
+ // temporary solution
5
+ export const countryCodes = [
6
+ { code: 'AF', name: 'Afghanistan' },
7
+ { code: 'AX', name: 'Aland Islands' },
8
+ { code: 'AL', name: 'Albania' },
9
+ { code: 'DZ', name: 'Algeria' },
10
+ { code: 'AS', name: 'American Samoa' },
11
+ { code: 'AD', name: 'Andorra' },
12
+ { code: 'AO', name: 'Angola' },
13
+ { code: 'AI', name: 'Anguilla' },
14
+ { code: 'AQ', name: 'Antarctica' },
15
+ { code: 'AG', name: 'Antigua And Barbuda' },
16
+ { code: 'AR', name: 'Argentina' },
17
+ { code: 'AM', name: 'Armenia' },
18
+ { code: 'AW', name: 'Aruba' },
19
+ { code: 'AU', name: 'Australia' },
20
+ { code: 'AT', name: 'Austria' },
21
+ { code: 'AZ', name: 'Azerbaijan' },
22
+ { code: 'BS', name: 'Bahamas' },
23
+ { code: 'BH', name: 'Bahrain' },
24
+ { code: 'BD', name: 'Bangladesh' },
25
+ { code: 'BB', name: 'Barbados' },
26
+ { code: 'BY', name: 'Belarus' },
27
+ { code: 'BE', name: 'Belgium' },
28
+ { code: 'BZ', name: 'Belize' },
29
+ { code: 'BJ', name: 'Benin' },
30
+ { code: 'BM', name: 'Bermuda' },
31
+ { code: 'BT', name: 'Bhutan' },
32
+ { code: 'BO', name: 'Bolivia' },
33
+ { code: 'BA', name: 'Bosnia And Herzegovina' },
34
+ { code: 'BW', name: 'Botswana' },
35
+ { code: 'BV', name: 'Bouvet Island' },
36
+ { code: 'BR', name: 'Brazil' },
37
+ { code: 'IO', name: 'British Indian Ocean Territory' },
38
+ { code: 'BN', name: 'Brunei Darussalam' },
39
+ { code: 'BG', name: 'Bulgaria' },
40
+ { code: 'BF', name: 'Burkina Faso' },
41
+ { code: 'BI', name: 'Burundi' },
42
+ { code: 'KH', name: 'Cambodia' },
43
+ { code: 'CM', name: 'Cameroon' },
44
+ { code: 'CA', name: 'Canada' },
45
+ { code: 'CV', name: 'Cape Verde' },
46
+ { code: 'KY', name: 'Cayman Islands' },
47
+ { code: 'CF', name: 'Central African Republic' },
48
+ { code: 'TD', name: 'Chad' },
49
+ { code: 'CL', name: 'Chile' },
50
+ { code: 'CN', name: 'China' },
51
+ { code: 'CX', name: 'Christmas Island' },
52
+ { code: 'CC', name: 'Cocos (Keeling) Islands' },
53
+ { code: 'CO', name: 'Colombia' },
54
+ { code: 'KM', name: 'Comoros' },
55
+ { code: 'CG', name: 'Congo' },
56
+ { code: 'CD', name: 'Congo, Democratic Republic' },
57
+ { code: 'CK', name: 'Cook Islands' },
58
+ { code: 'CR', name: 'Costa Rica' },
59
+ { code: 'CI', name: "Cote D'Ivoire" },
60
+ { code: 'HR', name: 'Croatia' },
61
+ { code: 'CU', name: 'Cuba' },
62
+ { code: 'CY', name: 'Cyprus' },
63
+ { code: 'CZ', name: 'Czech Republic' },
64
+ { code: 'DK', name: 'Denmark' },
65
+ { code: 'DJ', name: 'Djibouti' },
66
+ { code: 'DM', name: 'Dominica' },
67
+ { code: 'DO', name: 'Dominican Republic' },
68
+ { code: 'EC', name: 'Ecuador' },
69
+ { code: 'EG', name: 'Egypt' },
70
+ { code: 'SV', name: 'El Salvador' },
71
+ { code: 'GQ', name: 'Equatorial Guinea' },
72
+ { code: 'ER', name: 'Eritrea' },
73
+ { code: 'EE', name: 'Estonia' },
74
+ { code: 'ET', name: 'Ethiopia' },
75
+ { code: 'FK', name: 'Falkland Islands (Malvinas)' },
76
+ { code: 'FO', name: 'Faroe Islands' },
77
+ { code: 'FJ', name: 'Fiji' },
78
+ { code: 'FI', name: 'Finland' },
79
+ { code: 'FR', name: 'France' },
80
+ { code: 'GF', name: 'French Guiana' },
81
+ { code: 'PF', name: 'French Polynesia' },
82
+ { code: 'TF', name: 'French Southern Territories' },
83
+ { code: 'GA', name: 'Gabon' },
84
+ { code: 'GM', name: 'Gambia' },
85
+ { code: 'GE', name: 'Georgia' },
86
+ { code: 'DE', name: 'Germany' },
87
+ { code: 'GH', name: 'Ghana' },
88
+ { code: 'GI', name: 'Gibraltar' },
89
+ { code: 'GR', name: 'Greece' },
90
+ { code: 'GL', name: 'Greenland' },
91
+ { code: 'GD', name: 'Grenada' },
92
+ { code: 'GP', name: 'Guadeloupe' },
93
+ { code: 'GU', name: 'Guam' },
94
+ { code: 'GT', name: 'Guatemala' },
95
+ { code: 'GG', name: 'Guernsey' },
96
+ { code: 'GN', name: 'Guinea' },
97
+ { code: 'GW', name: 'Guinea-Bissau' },
98
+ { code: 'GY', name: 'Guyana' },
99
+ { code: 'HT', name: 'Haiti' },
100
+ // { code: 'HM', name: 'Heard Island & Mcdonald Islands' },
101
+ { code: 'VA', name: 'Holy See (Vatican City State)' },
102
+ { code: 'HN', name: 'Honduras' },
103
+ { code: 'HK', name: 'Hong Kong' },
104
+ { code: 'HU', name: 'Hungary' },
105
+ { code: 'IS', name: 'Iceland' },
106
+ { code: 'IN', name: 'India' },
107
+ { code: 'ID', name: 'Indonesia' },
108
+ { code: 'IR', name: 'Iran, Islamic Republic Of' },
109
+ { code: 'IQ', name: 'Iraq' },
110
+ { code: 'IE', name: 'Ireland' },
111
+ { code: 'IM', name: 'Isle Of Man' },
112
+ { code: 'IL', name: 'Israel' },
113
+ { code: 'IT', name: 'Italy' },
114
+ { code: 'JM', name: 'Jamaica' },
115
+ { code: 'JP', name: 'Japan' },
116
+ { code: 'JE', name: 'Jersey' },
117
+ { code: 'JO', name: 'Jordan' },
118
+ { code: 'KZ', name: 'Kazakhstan' },
119
+ { code: 'KE', name: 'Kenya' },
120
+ { code: 'KI', name: 'Kiribati' },
121
+ { code: 'KR', name: 'Korea' },
122
+ { code: 'KW', name: 'Kuwait' },
123
+ { code: 'KG', name: 'Kyrgyzstan' },
124
+ { code: 'LA', name: "Lao People's Democratic Republic" },
125
+ { code: 'LV', name: 'Latvia' },
126
+ { code: 'LB', name: 'Lebanon' },
127
+ { code: 'LS', name: 'Lesotho' },
128
+ { code: 'LR', name: 'Liberia' },
129
+ { code: 'LY', name: 'Libyan Arab Jamahiriya' },
130
+ { code: 'LI', name: 'Liechtenstein' },
131
+ { code: 'LT', name: 'Lithuania' },
132
+ { code: 'LU', name: 'Luxembourg' },
133
+ { code: 'MO', name: 'Macao' },
134
+ { code: 'MK', name: 'Macedonia' },
135
+ { code: 'MG', name: 'Madagascar' },
136
+ { code: 'MW', name: 'Malawi' },
137
+ { code: 'MY', name: 'Malaysia' },
138
+ { code: 'MV', name: 'Maldives' },
139
+ { code: 'ML', name: 'Mali' },
140
+ { code: 'MT', name: 'Malta' },
141
+ { code: 'MH', name: 'Marshall Islands' },
142
+ { code: 'MQ', name: 'Martinique' },
143
+ { code: 'MR', name: 'Mauritania' },
144
+ { code: 'MU', name: 'Mauritius' },
145
+ { code: 'YT', name: 'Mayotte' },
146
+ { code: 'MX', name: 'Mexico' },
147
+ { code: 'FM', name: 'Micronesia, Federated States Of' },
148
+ { code: 'MD', name: 'Moldova' },
149
+ { code: 'MC', name: 'Monaco' },
150
+ { code: 'MN', name: 'Mongolia' },
151
+ { code: 'ME', name: 'Montenegro' },
152
+ { code: 'MS', name: 'Montserrat' },
153
+ { code: 'MA', name: 'Morocco' },
154
+ { code: 'MZ', name: 'Mozambique' },
155
+ { code: 'MM', name: 'Myanmar' },
156
+ { code: 'NA', name: 'Namibia' },
157
+ { code: 'NR', name: 'Nauru' },
158
+ { code: 'NP', name: 'Nepal' },
159
+ { code: 'NL', name: 'Netherlands' },
160
+ { code: 'NC', name: 'New Caledonia' },
161
+ { code: 'NZ', name: 'New Zealand' },
162
+ { code: 'NI', name: 'Nicaragua' },
163
+ { code: 'NE', name: 'Niger' },
164
+ { code: 'NG', name: 'Nigeria' },
165
+ { code: 'NU', name: 'Niue' },
166
+ { code: 'NF', name: 'Norfolk Island' },
167
+ { code: 'MP', name: 'Northern Mariana Islands' },
168
+ { code: 'NO', name: 'Norway' },
169
+ { code: 'OM', name: 'Oman' },
170
+ { code: 'PK', name: 'Pakistan' },
171
+ { code: 'PW', name: 'Palau' },
172
+ { code: 'PS', name: 'Palestinian Territory, Occupied' },
173
+ { code: 'PA', name: 'Panama' },
174
+ { code: 'PG', name: 'Papua New Guinea' },
175
+ { code: 'PY', name: 'Paraguay' },
176
+ { code: 'PE', name: 'Peru' },
177
+ { code: 'PH', name: 'Philippines' },
178
+ { code: 'PN', name: 'Pitcairn' },
179
+ { code: 'PL', name: 'Poland' },
180
+ { code: 'PT', name: 'Portugal' },
181
+ { code: 'PR', name: 'Puerto Rico' },
182
+ { code: 'QA', name: 'Qatar' },
183
+ { code: 'RE', name: 'Reunion' },
184
+ { code: 'RO', name: 'Romania' },
185
+ { code: 'RU', name: 'Russian Federation' },
186
+ { code: 'RW', name: 'Rwanda' },
187
+ { code: 'BL', name: 'Saint Barthelemy' },
188
+ { code: 'SH', name: 'Saint Helena' },
189
+ { code: 'KN', name: 'Saint Kitts And Nevis' },
190
+ { code: 'LC', name: 'Saint Lucia' },
191
+ { code: 'MF', name: 'Saint Martin' },
192
+ { code: 'PM', name: 'Saint Pierre And Miquelon' },
193
+ { code: 'VC', name: 'Saint Vincent And Grenadines' },
194
+ { code: 'WS', name: 'Samoa' },
195
+ { code: 'SM', name: 'San Marino' },
196
+ { code: 'ST', name: 'Sao Tome And Principe' },
197
+ { code: 'SA', name: 'Saudi Arabia' },
198
+ { code: 'SN', name: 'Senegal' },
199
+ { code: 'RS', name: 'Serbia' },
200
+ { code: 'SC', name: 'Seychelles' },
201
+ { code: 'SL', name: 'Sierra Leone' },
202
+ { code: 'SG', name: 'Singapore' },
203
+ { code: 'SK', name: 'Slovakia' },
204
+ { code: 'SI', name: 'Slovenia' },
205
+ { code: 'SB', name: 'Solomon Islands' },
206
+ { code: 'SO', name: 'Somalia' },
207
+ { code: 'ZA', name: 'South Africa' },
208
+ // { code: 'GS', name: 'South Georgia And Sandwich Isl.' },
209
+ { code: 'ES', name: 'Spain' },
210
+ { code: 'LK', name: 'Sri Lanka' },
211
+ { code: 'SD', name: 'Sudan' },
212
+ { code: 'SR', name: 'Suriname' },
213
+ // { code: 'SJ', name: 'Svalbard And Jan Mayen' },
214
+ { code: 'SZ', name: 'Swaziland' },
215
+ { code: 'SE', name: 'Sweden' },
216
+ { code: 'CH', name: 'Switzerland' },
217
+ { code: 'SY', name: 'Syrian Arab Republic' },
218
+ { code: 'TW', name: 'Taiwan' },
219
+ { code: 'TJ', name: 'Tajikistan' },
220
+ { code: 'TZ', name: 'Tanzania' },
221
+ { code: 'TH', name: 'Thailand' },
222
+ { code: 'TL', name: 'Timor-Leste' },
223
+ { code: 'TG', name: 'Togo' },
224
+ { code: 'TK', name: 'Tokelau' },
225
+ { code: 'TO', name: 'Tonga' },
226
+ { code: 'TT', name: 'Trinidad And Tobago' },
227
+ { code: 'TN', name: 'Tunisia' },
228
+ { code: 'TR', name: 'Turkey' },
229
+ { code: 'TM', name: 'Turkmenistan' },
230
+ // { code: 'TC', name: 'Turks And Caicos Islands' },
231
+ { code: 'TV', name: 'Tuvalu' },
232
+ { code: 'UG', name: 'Uganda' },
233
+ { code: 'UA', name: 'Ukraine' },
234
+ { code: 'AE', name: 'United Arab Emirates' },
235
+ { code: 'GB', name: 'United Kingdom' },
236
+ { code: 'US', name: 'United States' },
237
+ // { code: 'UM', name: 'United States Outlying Islands' },
238
+ { code: 'UY', name: 'Uruguay' },
239
+ { code: 'UZ', name: 'Uzbekistan' },
240
+ { code: 'VU', name: 'Vanuatu' },
241
+ { code: 'VE', name: 'Venezuela' },
242
+ { code: 'VN', name: 'Vietnam' },
243
+ // { code: 'VG', name: 'Virgin Islands, British' },
244
+ // { code: 'VI', name: 'Virgin Islands, U.S.' },
245
+ // { code: 'WF', name: 'Wallis And Futuna' },
246
+ { code: 'EH', name: 'Western Sahara' },
247
+ { code: 'YE', name: 'Yemen' },
248
+ { code: 'ZM', name: 'Zambia' },
249
+ { code: 'ZW', name: 'Zimbabwe' },
250
+ ];
251
+ export class GeoBlock extends ModuleTransferDTO {
252
+ constructor() {
253
+ super();
254
+ this.name = 'geoBlock';
255
+ this.author = 'Takaro';
256
+ this.supportedGames = ['all'];
257
+ this.versions = [
258
+ new ModuleTransferVersionDTO({
259
+ tag: '0.0.1',
260
+ description: 'Block players from certain countries from joining the server.',
261
+ configSchema: JSON.stringify({
262
+ $schema: 'http://json-schema.org/draft-07/schema#',
263
+ type: 'object',
264
+ properties: {
265
+ mode: {
266
+ title: 'Mode',
267
+ type: 'string',
268
+ description: 'If set to allow, only players from the specified countries will be allowed to join. If set to deny, players from the specified countries will be banned from the server.',
269
+ enum: ['allow', 'deny'],
270
+ default: 'deny',
271
+ },
272
+ countries: {
273
+ title: 'Countries',
274
+ description: 'List of countries',
275
+ type: 'array',
276
+ uniqueItems: true,
277
+ 'x-component': 'country',
278
+ items: {
279
+ type: 'string',
280
+ anyOf: countryCodes.map(({ code, name }) => ({ const: code, title: name })),
281
+ },
282
+ },
283
+ ban: {
284
+ title: 'Ban',
285
+ description: 'Ban players from the server when they are detected. When false, players will be kicked instead.',
286
+ type: 'boolean',
287
+ default: true,
288
+ },
289
+ banDuration: {
290
+ title: 'Ban duration',
291
+ description: 'Duration of the ban.',
292
+ 'x-component': 'duration',
293
+ type: 'number',
294
+ minimum: 0,
295
+ default: Duration.fromObject({ days: 1 }).as('milliseconds'),
296
+ },
297
+ message: {
298
+ title: 'Message',
299
+ type: 'string',
300
+ description: 'Message to send to the player when they are kicked or banned.',
301
+ default: 'Your IP address is banned.',
302
+ },
303
+ },
304
+ required: ['countries'],
305
+ additionalProperties: false,
306
+ }),
307
+ uiSchema: JSON.stringify({
308
+ banDuration: { 'ui:widget': 'duration' },
309
+ }),
310
+ permissions: [
311
+ new IPermission({
312
+ permission: 'GEOBLOCK_IMMUNITY',
313
+ friendlyName: 'GeoBlock immunity',
314
+ description: 'Players with this permission will not be kicked or banned by GeoBlock.',
315
+ canHaveCount: false,
316
+ }),
317
+ ],
318
+ hooks: [
319
+ new IHook({
320
+ eventType: HookEvents.PLAYER_NEW_IP_DETECTED,
321
+ name: 'IPDetected',
322
+ function: this.loadFn('hooks', 'IPDetected'),
323
+ }),
324
+ ],
325
+ }),
326
+ ];
327
+ }
328
+ }
329
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/geoBlock/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACzG,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,qBAAqB;AACrB,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE;IACnC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE;IACrC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE;IAC/B,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,S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W,EAAE,EAAE,WAAW,EAAE,UAAU,EAAE;iBACzC,CAAC;gBACF,WAAW,EAAE;oBACX,IAAI,WAAW,CAAC;wBACd,UAAU,EAAE,mBAAmB;wBAC/B,YAAY,EAAE,mBAAmB;wBACjC,WAAW,EAAE,wEAAwE;wBACrF,YAAY,EAAE,KAAK;qBACpB,CAAC;iBACH;gBACD,KAAK,EAAE;oBACL,IAAI,KAAK,CAAC;wBACR,SAAS,EAAE,UAAU,CAAC,sBAAsB;wBAC5C,IAAI,EAAE,YAAY;wBAClB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC;qBAC7C,CAAC;iBACH;aACF,CAAC;SACH,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=gimme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gimme.d.ts","sourceRoot":"","sources":["../../../../src/modules/gimme/commands/gimme.js"],"names":[],"mappings":""}