Commit Graph
94 Commits
Author SHA1 Message Date
auto 78b4b5d25a Switched to string (code can start with 0) and fixed using link instead of code for getting option 2022-12-27 18:53:38 +01:00
auto fd5f89c755 Fix missing description for command 2022-12-27 18:53:16 +01:00
auto df69f0e607 Register commands after jda starts 2022-12-27 18:53:03 +01:00
auto 0674989716 Improved error message 2022-12-27 18:52:48 +01:00
auto ebbabea0b9 Fixed logger 2022-12-27 18:52:33 +01:00
auto bc8a8b9141 Remove linked role if user isn't linked in the db anymore 2022-12-27 18:51:29 +01:00
auto 29d0757279 Improved link check (gives more info) 2022-12-27 18:51:02 +01:00
auto 130d8b027a Deleted old commands 2022-12-19 02:56:55 +01:00
auto c045aba112 Added ServerList StaffList and Broadcast (added sync but not implemented yet) 2022-12-19 02:56:11 +01:00
auto cfeb04fe6e Added Nick and Unlink command 2022-12-19 02:27:41 +01:00
auto 9f389a8a12 Use embeds and fix not using command data 2022-12-19 01:53:37 +01:00
auto 6b60ba4a34 Added default behavior for tab completing (sending an empty list) cus it doesn't always need to do more 2022-12-18 22:51:20 +01:00
auto b39a155711 Reworked link command 2022-12-18 22:43:34 +01:00
auto 197c510d0d Reworked link command 2022-12-18 22:43:20 +01:00
auto 7b895443ab Re-structured configs 2022-12-18 21:35:37 +01:00
auto fd9ed1f8eb Updated JDA 2022-12-18 19:24:06 +01:00
auto ac314cdcf5 Merge remote-tracking branch 'origin/master' 2022-05-30 20:09:37 +02:00
auto 05cc57ddec Updated minimessage 2022-05-30 20:09:20 +02:00
auto 92c1ee42a9 Queries api if member is null 2022-03-09 05:14:25 +01:00
auto 56313ef3f9 Fixed link not sending code 2022-03-03 02:33:38 +01:00
auto ca303d267b Updated stuff 2022-03-02 16:44:24 +01:00
auto 4b94502668 Update dependencies 2022-02-18 20:33:49 +01:00
auto be26ab2d7e Fixed database not finding driver 2022-02-13 19:34:43 +01:00
auto f5519811ed Added litebans dependency 2022-02-13 19:34:25 +01:00
auto 3a1caef887 Added uuid to ban message, only ban ppl who are linked 2022-02-08 00:18:23 +01:00
auto 2d05ec61af Fixed database query and changed to only unban bans that were with the same reason as the auto ban 2022-02-03 01:15:30 +01:00
auto 16996e95e2 handle luckperm user being null 2022-01-11 01:05:30 +01:00
auto 5cd8f5c894 use player_uuid instead of uuid 2022-01-11 01:05:13 +01:00
auto a287e11d84 Check if they are active instead of just if they have an entry 2022-01-11 01:05:01 +01:00
auto e26a3c23c6 Updated everything, added a check for if someone leaves the discord so it auto unlinks them if they do, and added auto bans/unbans based on litebans bans/unbans 2021-12-27 05:00:51 +01:00
auto 5236b11241 check if nick is null 2021-09-20 23:50:26 +02:00
auto 80a6c5df7e Fixed issues with discordlink 2021-09-20 23:41:14 +02:00
auto 1a70fd4fd4 changed stuff for whitelistkick 2021-09-20 23:00:45 +02:00
auto 6100adaf93 Removed a todo 2021-09-20 04:04:28 +02:00
auto 9744eddd35 Fixed some minor syncing issues 2021-09-20 04:03:44 +02:00
auto 1c2eeec78a Add and remove roles from internal cache where needed 2021-09-20 03:29:52 +02:00
auto 8b42cfea43 Get the key not the whole value 2021-09-20 03:29:25 +02:00
auto e690da0731 Don't try to sink if player isn't linked 2021-09-20 03:29:07 +02:00
auto f1cb98da10 Sync roles 2021-09-20 03:05:27 +02:00
auto 42931b2761 Fixed being unable to unlink 2021-09-20 02:36:47 +02:00
auto 722e1ea01b This should work but it doesn't 2021-09-18 15:03:42 +02:00
auto cfbc84c8b6 Don't do both 2021-09-18 14:56:59 +02:00
auto d4e3b9504a Notify user when they aren't linked and try to unlink 2021-09-17 20:05:57 +02:00
auto c3ed2fb7c4 Added message to show unlinked worked 2021-09-17 16:31:33 +02:00
auto 44a335bf12 Changed channelId to long 2021-09-17 16:31:21 +02:00
auto 49e53fb01c Allow linking for unlinked players while the server is whitelisted 2021-09-17 15:59:01 +02:00
auto 7a0d49fcb6 Added discord nick command 2021-09-16 18:13:34 +02:00
auto 6afb451be1 Don't return null for suggest 2021-09-16 17:59:37 +02:00
auto 5f2c099981 Don't return null for suggest 2021-09-16 17:59:30 +02:00
auto b932bb5045 Don't return null for suggest 2021-09-16 17:59:23 +02:00
auto 64fb975cfe use uuid 2021-09-16 17:59:12 +02:00
auto 529c2efe5a Fixed using incorrect function 2021-09-16 17:58:56 +02:00
auto 4ae5e16cbc Fixed not updating the user when updating roles 2021-09-16 17:58:35 +02:00
auto 94b7855da3 Let the player know if they linked correctly 2021-09-16 17:57:32 +02:00
auto 235e60cf56 Removed unused imports
return all players for suggest
2021-09-16 17:57:08 +02:00
auto 34463ae4b8 Fixed incorrect naming in database 2021-09-16 17:56:29 +02:00
auto 17d8c5e4e2 Removed alias 2021-09-16 17:56:09 +02:00
auto fb67d7c6c4 Only show commands you have perms for 2021-09-16 17:55:49 +02:00
auto 242605c6fb Converted to long for discord_id for database and removed unneeded data 2021-09-16 16:58:15 +02:00
auto 899ddb8703 Add boolean for nicknames remove unneeded columns 2021-09-16 16:04:45 +02:00
auto d28aa77cc7 Add boolean for nicknames 2021-09-16 16:04:35 +02:00
auto 3671d33dc7 Add boolean for nicknames allow changing user/nick name 2021-09-16 16:04:20 +02:00
auto 4d8b7b60f6 Sync nickname if needed 2021-09-16 16:03:48 +02:00
auto f6276227b9 Added changeNick funtion 2021-09-16 15:53:07 +02:00
auto abd6db884d Use nick function in the bot class 2021-09-16 15:52:55 +02:00
auto d4cf97754d Sync names on player join 2021-09-16 15:52:23 +02:00
auto 3c5cdeb8f9 Added LINKED_ROLE_ID setting 2021-09-16 15:36:52 +02:00
auto 87691e80b3 Added function to get UUID from playerCacheCode 2021-09-16 15:36:33 +02:00
auto 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
auto 5f8dc66320 Added DiscordUnlink to loaded commands 2021-09-16 15:35:25 +02:00
auto 3c8173fff9 Switched to modular role system 2021-09-16 15:35:04 +02:00
auto 0e2de7e0bb Added DiscordUnlink 2021-09-16 15:34:41 +02:00
auto ce0f8ffc85 Added function to get internal name 2021-09-16 15:33:07 +02:00
auto 5b90ffd275 Added function to get all syncable roles for a user 2021-09-16 15:32:51 +02:00
auto 50fee977fe Remove synced roles when unlinking 2021-09-16 15:32:20 +02:00
auto 613c179c50 Added DiscordLinkCommand 2021-09-16 15:32:05 +02:00
auto 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
auto ef46387dc8 Use configurable server prefix 2021-09-16 13:14:51 +02:00
auto 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
auto b3f9280822 Made prefixes configurable per server 2021-09-15 15:10:52 +02:00
auto 3d950f5fee Removed code that synced through database instead of directly 2021-09-12 20:39:48 +02:00
auto 420d044153 More syncing roles stuff 2021-09-12 01:26:44 +02:00
auto 1aa1563ec1 Initial commit for syncing roles 2021-09-12 00:40:22 +02:00
auto 3f588b90b3 Load BotConfig in BotConfig instead of Config 2021-09-11 20:14:33 +02:00
auto 85f7896b49 Loading BotConfig 2021-09-11 19:52:38 +02:00
auto db46624712 Added everything needed for adding the discordBot to the plugin
Shared pom
2021-09-11 17:47:46 +02:00
auto 4e4ebce88d Filtered nicknames to remove color codes 2021-09-10 20:35:17 +02:00
auto 4511f3468e had the order of the objects for register wrong 2021-09-10 20:17:43 +02:00
auto d5631f3068 renamed functions 2021-09-10 20:10:45 +02:00
auto 0dfb441e51 renamed events to listeners 2021-09-10 20:07:40 +02:00
auto 58e330460d Fixed capitalization in event files 2021-09-10 20:04:11 +02:00
auto 21cf4e1aee fixed config issues, fixed sending clickable to console, added reload 2021-09-10 20:03:28 +02:00
auto 2841b3f924 Fixed not returning UUID as a string from uuidFromName and fixed no template for player 2021-09-10 19:44:26 +02:00
auto 7a7d797401 Initial commit ProxyDiscordLink 2021-09-10 19:31:36 +02:00