Commit Graph

51 Commits

Author SHA1 Message Date
destro174 74a98e340b Add listener for WhitelistKickEvent 2021-09-17 08:37:30 +02:00
Teriuihi 7a0d49fcb6 Added discord nick command 2021-09-16 18:13:34 +02:00
Teriuihi 6afb451be1 Don't return null for suggest 2021-09-16 17:59:37 +02:00
Teriuihi 5f2c099981 Don't return null for suggest 2021-09-16 17:59:30 +02:00
Teriuihi b932bb5045 Don't return null for suggest 2021-09-16 17:59:23 +02:00
Teriuihi 64fb975cfe use uuid 2021-09-16 17:59:12 +02:00
Teriuihi 529c2efe5a Fixed using incorrect function 2021-09-16 17:58:56 +02:00
Teriuihi 4ae5e16cbc Fixed not updating the user when updating roles 2021-09-16 17:58:35 +02:00
Teriuihi 94b7855da3 Let the player know if they linked correctly 2021-09-16 17:57:32 +02:00
Teriuihi 235e60cf56 Removed unused imports
return all players for suggest
2021-09-16 17:57:08 +02:00
Teriuihi 34463ae4b8 Fixed incorrect naming in database 2021-09-16 17:56:29 +02:00
Teriuihi 17d8c5e4e2 Removed alias 2021-09-16 17:56:09 +02:00
Teriuihi fb67d7c6c4 Only show commands you have perms for 2021-09-16 17:55:49 +02:00
Teriuihi 242605c6fb Converted to long for discord_id for database and removed unneeded data 2021-09-16 16:58:15 +02:00
Teriuihi 899ddb8703 Add boolean for nicknames remove unneeded columns 2021-09-16 16:04:45 +02:00
Teriuihi d28aa77cc7 Add boolean for nicknames 2021-09-16 16:04:35 +02:00
Teriuihi 3671d33dc7 Add boolean for nicknames allow changing user/nick name 2021-09-16 16:04:20 +02:00
Teriuihi 4d8b7b60f6 Sync nickname if needed 2021-09-16 16:03:48 +02:00
Teriuihi f6276227b9 Added changeNick funtion 2021-09-16 15:53:07 +02:00
Teriuihi abd6db884d Use nick function in the bot class 2021-09-16 15:52:55 +02:00
Teriuihi d4cf97754d Sync names on player join 2021-09-16 15:52:23 +02:00
Teriuihi 3c5cdeb8f9 Added LINKED_ROLE_ID setting 2021-09-16 15:36:52 +02:00
Teriuihi 87691e80b3 Added function to get UUID from playerCacheCode 2021-09-16 15:36:33 +02:00
Teriuihi 635e8884ef Removed cache table
Added account_roles table
Added function to add roles to a discord link user
2021-09-16 15:36:15 +02:00
Teriuihi 5f8dc66320 Added DiscordUnlink to loaded commands 2021-09-16 15:35:25 +02:00
Teriuihi 3c8173fff9 Switched to modular role system 2021-09-16 15:35:04 +02:00
Teriuihi 0e2de7e0bb Added DiscordUnlink 2021-09-16 15:34:41 +02:00
Teriuihi ce0f8ffc85 Added function to get internal name 2021-09-16 15:33:07 +02:00
Teriuihi 5b90ffd275 Added function to get all syncable roles for a user 2021-09-16 15:32:51 +02:00
Teriuihi 50fee977fe Remove synced roles when unlinking 2021-09-16 15:32:20 +02:00
Teriuihi 613c179c50 Added DiscordLinkCommand 2021-09-16 15:32:05 +02:00
Teriuihi 4741a8effc Added boolean to see if it should be synced to discord
Added internal name for role (the name in the config)
2021-09-16 13:15:55 +02:00
Teriuihi ef46387dc8 Use configurable server prefix 2021-09-16 13:14:51 +02:00
Teriuihi f3f4625f14 Removed prefix from syntax (if we ever use it, it should display the server prefix instead) 2021-09-16 13:14:19 +02:00
Teriuihi b3f9280822 Made prefixes configurable per server 2021-09-15 15:10:52 +02:00
Teriuihi 3d950f5fee Removed code that synced through database instead of directly 2021-09-12 20:39:48 +02:00
Teriuihi 420d044153 More syncing roles stuff 2021-09-12 01:26:44 +02:00
Teriuihi 1aa1563ec1 Initial commit for syncing roles 2021-09-12 00:40:22 +02:00
Teriuihi 3f588b90b3 Load BotConfig in BotConfig instead of Config 2021-09-11 20:14:33 +02:00
Teriuihi 85f7896b49 Loading BotConfig 2021-09-11 19:52:38 +02:00
destro174 412003f5cd switch to gradle 2021-09-11 19:14:34 +02:00
destro174 eeb3094946 shade in mysql and jda 2021-09-11 18:02:15 +02:00
Teriuihi db46624712 Added everything needed for adding the discordBot to the plugin
Shared pom
2021-09-11 17:47:46 +02:00
Teriuihi 4e4ebce88d Filtered nicknames to remove color codes 2021-09-10 20:35:17 +02:00
Teriuihi 4511f3468e had the order of the objects for register wrong 2021-09-10 20:17:43 +02:00
Teriuihi d5631f3068 renamed functions 2021-09-10 20:10:45 +02:00
Teriuihi 0dfb441e51 renamed events to listeners 2021-09-10 20:07:40 +02:00
Teriuihi 58e330460d Fixed capitalization in event files 2021-09-10 20:04:11 +02:00
Teriuihi 21cf4e1aee fixed config issues, fixed sending clickable to console, added reload 2021-09-10 20:03:28 +02:00
Teriuihi 2841b3f924 Fixed not returning UUID as a string from uuidFromName and fixed no template for player 2021-09-10 19:44:26 +02:00