Commit Graph

7781 Commits

Author SHA1 Message Date
Alexander
bb2583b408 Reimpose hardcoded Y-level limits
There is some *odd* behaviour with the Nether where using the getMaxHeight() API would mean sometimes spawning the player above the roof-bedrock and killing them.
2023-07-05 17:43:13 +01:00
Alexander
89f740642f Fix Y-level finding 2023-07-05 16:52:22 +01:00
Alexander
87c5ae0857 Check Bastion dependency on-use rather than on-enable 2023-07-05 16:52:17 +01:00
Alexander
a3c03725b8 Update plugin.yml to specify BanStick as a hard dependency 2023-07-05 16:52:14 +01:00
Alexander
71ad637c5c Update plugin.yml to specify 1.18 2023-07-05 16:52:10 +01:00
Alexander
5d3390be8d 3.0.3-SNAPSHOT 2023-07-05 16:52:06 +01:00
Drekamor
f53ecb3935 Show /ep downgrade only if DefaultType is EXILE 2023-06-20 23:01:27 +01:00
drekamor
71d2d153b5 Merge branch 'CivMC:master' into master 2023-06-20 20:43:48 +01:00
Drekamor
739a62d807 Show /ep downgrade only if DefaultType is EXILE 2023-06-19 20:30:56 +01:00
AngrySoundTech
b929be962b Merge branch 'master' into command-fixes 2023-06-19 13:10:29 -04:00
AngrySoundTech
b9641be543 Merge pull request #34 from CivMC/wordbank-icon
Change WB Icon & Fix Issue #2
2023-06-19 13:00:30 -04:00
Alexander
a1e9b55c60 Make suggested changes 2023-06-16 00:27:35 +01:00
Alexander
11b61a3a05 Inline OTT's isRestrictedDestination method
Then more specific responses can be sent.
2023-06-15 19:40:36 +01:00
Alexander
c9e9521971 Minor OTT fixup
The OTT request message now suggests the accept command rather than sending it, just in case this can be abused.

The blacklisted and unsafe materials are already immutable, so there's no point in wrapping them.

Renamed isSafeLocation to isRestrictedDestination for clarity and flipped the logic.

Sends a reject message to the rejector.

Logs to the console when an OTT is granted.

Limit OTT commands to other players.
2023-06-15 19:11:09 +01:00
Alexander
49ca423ed1 Initialise commands before hacks
Also separates enabling hacks out of loadAllHacks, since loading != enabling.
2023-06-15 19:10:28 +01:00
Alexander
882d7d2801 Remove old OTT command from plugin.yml 2023-06-15 15:56:05 +01:00
Alexander
80851ed28f Add OTT grant command, add syntaxes, and print teleports to console 2023-06-15 02:34:59 +01:00
Alexander
a58c1c24e3 Reduce duplicate code in OTT
Defers the shared OTT permissibility checks to a method and the returned enum is checked against to give the appropriate response messages.
2023-06-15 01:32:08 +01:00
Alexander
1b4bc81f29 Add ExilePearl as a dependency 2023-06-15 01:02:17 +01:00
AngrySoundTech
09e420976c Update version 2023-06-14 19:48:12 -04:00
AngrySoundTech
507dc47750 Merge branch 'master' into feature/update-gradle 2023-06-14 19:44:27 -04:00
AngrySoundTech
628bd4c004 Update CivGradle 2023-06-14 19:42:34 -04:00
Alexander
61cafcd80c Improve OTT commands 2023-06-14 02:17:54 +01:00
Alexander
0ee9c3bbfe Add config option to OTT to limit to same world 2023-06-14 02:06:50 +01:00
Alexander
0206c69c75 Check pearled status in OTT 2023-06-14 02:01:45 +01:00
Alexander
2741aa3ae8 Initial fix 2023-06-14 01:32:30 +01:00
Cola
9f6c6221d7 Fix bad SQL 2023-06-11 17:28:49 +01:00
Cola
2926612c14 Remove 1.19 stuff that crept in 2023-06-11 16:49:05 +01:00
Cola
4dc65a2a7b Add saving methods to date and killer commands 2023-06-09 01:23:34 +01:00
wingzero54
8e492468cc Bump to 2.2.2 2023-05-31 09:15:55 -05:00
wingzero54
f9898c45a1 Merge pull request #65 from CivMC/OTT
Add OTT hack to SAH
2023-05-31 09:14:28 -05:00
RedDevel2
295a0d0678 Turn safeorebreak off by default.
Set default state for SafeOreBreak ores to disabled.
2023-05-29 22:12:07 +02:00
okx-code
7fc84b2f26 Update Snitch.java 2023-05-29 20:40:06 +01:00
Cola
1496744c30 Revert "Revert "Add lore to hash if its present on an item""
This reverts commit abbfc6fae7.
2023-05-29 01:04:02 +01:00
Cola
abbfc6fae7 Revert "Add lore to hash if its present on an item"
This reverts commit 3ca6bd040d.
2023-05-29 00:48:09 +01:00
Cola
3ca6bd040d Add lore to hash if its present on an item 2023-05-29 00:18:46 +01:00
Walkers
35e734a438 first attempt at refactor 2023-05-28 12:36:20 +01:00
Walkers
27a6261a47 add intuitive commands for local & global chat 2023-05-23 14:04:20 +01:00
RedDevel2
eb02d72ae7 Add bastion dependancy
For OTT
2023-05-16 17:54:41 +02:00
RedDevel2
6bc1bce072 Create OneTimeTeleportConfig.java 2023-05-11 22:06:03 +02:00
RedDevel2
fc1bbc5f65 Add OTT to config.yml 2023-05-11 22:03:14 +02:00
RedDevel2
45d795febc Add OTT to plugin.yml 2023-05-11 22:01:51 +02:00
RedDevel2
74c11fcd44 Add OneTimeTeleport.java
Add OTT to SAH
2023-05-11 21:56:26 +02:00
AngrySoundTech
696b5a2ea8 update to civgradle2 2023-04-28 12:35:38 -04:00
AngrySoundTech
6f81f1569a Update build.gradle.kts 2023-04-28 12:26:33 -04:00
AngrySoundTech
c3b1748498 update to civgradle 2 2023-04-28 12:20:09 -04:00
AngrySoundTech
d12794f5d0 fix an oopsie 2023-04-28 12:17:26 -04:00
AngrySoundTech
e175393fae Update to civgradle2 2023-04-28 12:11:38 -04:00
Cola
ef957bd4af Nicer fix 2023-04-27 04:04:51 +01:00
Cola
f4c71f295a Default to default instead of 0 causing ArithmaticExceptions 2023-04-27 03:50:33 +01:00