Commit graph

936 commits

Author SHA1 Message Date
Eva
952070827a
Allow developers to have "developers" in set tags 2022-03-21 21:19:58 +00:00
business-goose
35bee2d9e8 Kick players on TFM update 2022-03-21 21:19:39 +00:00
business-goose
d4fe79afba Decrease permission from SENIOR to SUPER 2022-03-21 21:13:40 +00:00
business-goose
acb777dde8 Remove debug stuff 2022-03-21 21:12:32 +00:00
business-goose
f8d8cbf362 Remove quotes 2022-03-21 21:10:39 +00:00
business-goose
27033345ba .getName() 2022-03-21 21:04:52 +00:00
business-goose
4b9350ea26 && 2022-03-21 21:01:55 +00:00
business-goose
2654610189 InheritIO 2022-03-21 20:53:12 +00:00
business-goose
e8b749cfdf Split arguments 2022-03-21 20:49:52 +00:00
business-goose
6a06c7183e Specify where bash is 2022-03-21 20:45:17 +00:00
business-goose
c693373364 Use process builder 2022-03-21 20:42:11 +00:00
business-goose
61fa2063e5 Add print statement for debugging 2022-03-21 20:38:58 +00:00
business-goose
33a34cfa56 CD into the directory and run the script directly 2022-03-21 20:37:24 +00:00
business-goose
6752e4aa5d Make the command executable in-game 2022-03-21 20:30:23 +00:00
business-goose
a14d0bc6a8 Add update TFM command & configuration entry 2022-03-21 20:26:29 +00:00
business-goose
12f07f1225 Set copy defaults to true 2022-03-21 20:22:15 +00:00
business-goose
a9e1e2f9e7 Add @saxnbt to list of developers 2022-03-21 20:13:09 +00:00
business-goose
c9d4caffed Revert "Default tag to their rank's tag"
This reverts commit 37f7c97637.
2022-03-21 20:11:30 +00:00
business-goose
37f7c97637 Default tag to their rank's tag 2022-03-21 20:08:09 +00:00
Eva
9030869fb0
Create playerTags.yml 2022-03-21 20:01:47 +00:00
Eva
4a376fb674
Update TotalFreedomMod.java 2022-03-21 20:01:17 +00:00
Eva
d6b5585a49
Update PlayerListener.java 2022-03-21 20:00:03 +00:00
Eva
54faffdfec
Update Command_tag.java 2022-03-21 19:59:29 +00:00
Eva
1bb4f57b5a
Create TagConfiguration.java 2022-03-21 19:59:00 +00:00
business-goose
68a93fc9c1 Add support for admin chat discord bridge 2022-03-21 19:11:17 +00:00
business-goose
7539c9e117 Revert "Register commands through Bukkit"
This reverts commit 2d543a92
2022-03-21 17:29:19 +00:00
business-goose
846c4350e7 Cleanup code 2022-03-21 17:11:24 +00:00
business-goose
ef4d2c46d8 Round TPS instead of flooring 2022-03-21 17:11:04 +00:00
business-goose
ae97ecacd1 Add uptime discord command and add penis exception (closes #10) 2022-03-21 16:58:59 +00:00
business-goose
c2b7cc9e19 Merge remote-tracking branch 'origin/main' 2022-03-21 16:46:18 +00:00
business-goose
2fbec562f7 Explicitly log Discord messages (closes #13) 2022-03-21 16:31:50 +00:00
business-goose
9741bae1fe Add admin console discord command (closes #1) and fix discord command arguments not being properly sent to the executed discord command. 2022-03-21 16:28:24 +00:00
business-goose
dcac3e3822 Add TPS command (closes #7) 2022-03-21 16:28:23 +00:00
df834a44a4 Merge branch 'main' of github.com:LunaWasFlaggedAgain/TFM-4.3-Reloaded 2022-03-21 13:26:31 -03:00
349704cfa5 use TotalFreedoMod.plugin instead of setup() 2022-03-21 13:26:14 -03:00
Luna
5732aeb697
add me to credits
idk
2022-03-21 13:04:18 -03:00
2d543a925a Register commands through Bukkit 2022-03-21 13:02:24 -03:00
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
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
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
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
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
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
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
Jerom van der Sar
9ff6325469 Add owner to standard prefixes. Resolves #504 2015-04-27 00:45:47 +02:00
Jerom van der Sar
ea404985fd Ban IPs in /tban. Resolves #499 2015-04-27 00:39:36 +02:00
Jerom van der Sar
8fc25111e2 Synchronize calls in AsyncPlayerChatEvent listener. Resolves #524 2015-04-27 00:31:54 +02:00
Jerom van der Sar
4fce1109a1 Merge branch 'master' into pr/553 2015-04-27 00:08:13 +02:00
Drew
916fd75003 Added Mumble announcement 2015-04-27 00:07:50 +02:00
Jerom van der Sar
aa35aae58f Merge branch 'master' into pr/574 2015-04-26 23:51:18 +02:00
Drew
6849fb2784 Display proper URL when banning with /glist ban
When you glist ban an online player, it says totalfreedom.boards.net regardless of the config entry. I modified it so it is the config.yml's ban appeal URL.
2015-04-26 23:50:40 +02:00
Jerom van der Sar
313577d083 Merge from master 2015-04-26 23:30:54 +02:00
Robinson Gallego
53efcfd06b Don't autoeject players using /reload. Resolves #525 2015-04-26 23:28:29 +02:00
Jerom van der Sar
edaaeef65f Merge branch 'master' into pr/571 2015-04-26 23:25:32 +02:00
Obi2
d6eb5bdcda Fix getIpBanList() returning UUID bans. Fixes #570 2015-04-26 23:23:46 +02:00
Jerom van der Sar
7d675923db Replaced last instances of DarthSalamon with Prozza 2015-04-26 22:40:38 +02:00
Jerom van der Sar
87fd8a165c Added MCConnect IP to nosuper IPs 2015-04-26 22:29:31 +02:00
Jerom van der Sar
1205252450 Correct compile NMS version 2015-04-26 22:21:26 +02:00
Jerom van der Sar
822f55d9f2 Merge with master 2015-04-26 20:44:28 +02:00
Jerom van der Sar
aacf37aa56 Update to Spigot 1.8.3-R2 2015-04-26 20:43:37 +02:00
John J. Miller
a15e39d7dd Added more announcements. Resolves #516 2015-03-29 12:10:55 +02:00
Drew
72fa8532d3 Blocked pending commands in CommandBlocker. Resolves #492 2015-03-15 13:19:20 +01:00
JeromSar
f4aa0c324c Updated to new WorldEdit API
TF-WorldEdit doesn't depend on TFM anymore. It's event-based now.
Moved TFM_TelnetListener to the Bridge subpackage
2015-03-07 17:32:27 +01:00
JeromSar
73ee1f3624 Implement SuperAdmin service 2015-02-18 19:24:04 +01:00
JeromSar
4ca3593653 Release v4.3 2015-02-16 17:13:21 +01:00