Commit graph

948 commits

Author SHA1 Message Date
business-goose
e1e466b454 Add getMaxMem(), getTotalMem(), getFreeMem() and getUptime() to the Server class 2022-03-21 14:35:31 +00:00
business-goose
06f80b244e Add server.getTPS() which queries Essentials for the TPS 2022-03-21 14:29:39 +00:00
business-goose
23fdf715f5 Make a discord command handler 2022-03-21 14:24:30 +00:00
Business Goose
06499c69b1
Merge pull request #11 from LunaWasFlaggedAgain/main
Fix /premium command
2022-03-21 13:09:29 +00:00
8cd08fbb72 Fix /premium command 2022-03-21 10:04:11 -03:00
business-goose
63c1b71056 Add attachment support (thanks to @LunaWasFlaggedAgain) & fix markdown sanitization sanitizing too much (i.e. the server has stopped, started etc.) 2022-03-21 10:13:02 +00:00
business-goose
8c39aa8fef Minimize jar 2022-03-21 10:12:18 +00:00
business-goose
5ad82c0dea Remove unused comment 2022-03-21 09:30:06 +00:00
business-goose
792f3d0590 Add color code support for chat format 2022-03-21 09:29:32 +00:00
business-goose
583e8909e9 Merge branch 'main' of https://github.com/TheDeus-Group/TFM-4.3-Reloaded 2022-03-21 09:28:50 +00:00
business-goose
5c2e785669 Add color code support for Discord bridge 2022-03-21 09:26:24 +00:00
Business Goose
22c174f9ef
Merge pull request #9 from saxnbt/patch-4
Sanitize Markdowns
2022-03-21 08:56:05 +00:00
Eva
fb6f45a6a5
Sanitize Markdowns
This should hopefully fix the markdown issue, it is the same regex used in my other bot (SBot) which uses a discord bridge and works effectively.
2022-03-21 00:46:15 +00:00
Business Goose
67e84fb498
Merge pull request #5 from saxnbt/patch-3
please fix this haram typo
2022-03-20 21:32:57 +00:00
Eva
ccfc5e037f
please fix this haram typo 2022-03-20 21:31:34 +00:00
Business Goose
8e8d95ce9b
Merge pull request #2 from TheDeus-Group/development
Optimize discord list command
2022-03-20 17:56:09 +00:00
business-goose
cb7f603928 Remove old commented out code 2022-03-20 17:52:05 +00:00
business-goose
26275745d0 Optimize the way we list players from Discord 2022-03-20 17:03:50 +00:00
business-goose
3eb979e36b Add getWithRank() and getInGameUsernames(), also implement getOrdinal() and getPlural() 2022-03-20 17:02:00 +00:00
business-goose
4c13ea79cc Use CraftBukkit API instead of Bukkit API 2022-03-20 17:01:30 +00:00
business-goose
80a240bf09 Make announcer no longer spam the Discord bridge 2022-03-20 16:01:28 +00:00
business-goose
0cc0839861 Add plurals for most ranks and add ordinals that rank them by power. 2022-03-20 15:23:02 +00:00
business-goose
565152e09a Initial commit 2022-03-20 12:35:43 +00:00
Jerom van der Sar
21c0833f14 Rename dependency names to match wiki 2015-06-07 17:21:05 +02:00
JeromSar
c002fbc537 Handle player online check in AsyncPlayerPreLoginEvent
Apparently, online players with the same username are kicked before PlayerLoginEvent is called. This commit moves the online player check to AsyncPlayerPreloginEvent so the default behaviour can still be modified

Fixes #642
2015-05-30 20:51:49 +02:00
JeromSar
a4d8f4646e Properly block /jail and /unjail
They're both aliases, /togglejail is the actual command
2015-05-30 20:13:11 +02:00
JeromSar
f2dc46d4ef Work around /saconfig clearme bug. Fixes #629 2015-05-30 20:01:10 +02:00
JeromSar
901a327b1e Block/unblock pending commands for non-superadmins
Blocked /jail, /unjail and /blockdata for non-superadmins
Moved /clearhistory, /save-all, /save-on and /save-off to non-autoeject section

Resolves #671, Resolves #670, Resolves #656
2015-05-30 19:58:15 +02:00
ChargedCreeper
580ba0a357 Prevent players moving to illegal positions. Fixes #651 2015-05-30 19:45:22 +02:00
JeromSar
abf52870dd Block /green for non-superadmins. Resolves #594
Moved /restart to the correct section
2015-05-14 15:27:15 +02:00
Drew
b66614cad9 Block /execute for non-superadmins. Resolves #630 2015-05-14 14:30:51 +02:00
JeromSar
ff70f13e05 Fixed bug where /uuid recalculate would set ranks incorrectly 2015-05-13 14:56:38 +02:00
JeromSar
ea110c01dd Add /overlord 2015-05-13 14:52:01 +02:00
JeromSar
632f3647a8 Blocked /tpall for non-superadmins 2015-05-12 20:43:35 +02:00
JeromSar
80287433eb Properly fixed commandblocker
Rest in peace, terrible, terrible mistake
2015-05-12 20:34:04 +02:00
JeromSar
b18aeb2d38 Work around setFlying() throwing exceptions 2015-05-12 20:17:38 +02:00
JeromSar
68f972c562 Allow players to fly. Fixes #608 2015-05-12 17:18:12 +02:00
JeromSar
994056047a Block /weather for non-superadmins. Resolves #617 2015-05-12 17:13:28 +02:00
JeromSar
f115315341 Block /worldborder for non-superadmins. Resolves #615 2015-05-12 17:08:44 +02:00
JeromSar
57e5395143 Block /title for non-superadmins. Resolves #621 2015-05-12 17:07:41 +02:00
JeromSar
17f3a4ca3d Remove blocked commands from the CommandMap. Resolves #622
Temporarily workaround: Remove blocked command from the CommandMap
In Spigot 1.8.3, cancelling PlayerCommandPreprocessEvent will have no effect
This results in TFM failing to block player commands: The player will get a message,
but the command will still execute. Removing the command from the CommandMap is a
temporary workaround untill the related Spigot issue has been fixed.

https://hub.spigotmc.org/jira/browse/SPIGOT-879
2015-05-12 16:54:51 +02:00
JeromSar
e2d0e9e754 Fixed error when blocking player commands 2015-05-12 16:45:10 +02:00
JeromSar
b167540ad7 Properly cancel blocked commands 2015-05-11 23:05:21 +02:00
JeromSar
0d1ce072dc Reorder prefix assignments, fixes admin prefixes 2015-05-11 22:37:38 +02:00
JeromSar
887a5c6b16 Fixed all admins showing up as Superadmins 2015-05-11 22:21:59 +02:00
JeromSar
ea6bfa8387 Fix commandblocker not blocking properly. Resolves #586 2015-05-10 23:28:13 +02:00
JeromSar
42266c37ea Fixed false positive plugin specific command block. Resolves #575 2015-05-10 23:19:23 +02:00
Jerom van der Sar
2dd8e00201 Lowercase commands before mute-block checking. Resolves #312 2015-04-27 00:58:27 +02:00
Jerom van der Sar
46cd88a18a Add protected spawnpoints after all worlds have been loaded. Resolves #438 2015-04-27 00:53:07 +02:00
Jerom van der Sar
2ff0f6f5d6 Fix Forge clients being unable to log in. Resolves #493 2015-04-27 00:48:33 +02:00