Commit Graph

7807 Commits

Author SHA1 Message Date
Alexander
e805aa6e97 Remove ACivMod.getInstance(Some.class)
This isn't used once by a single civ-plugin, and is just a more expensive version of JavaPlugin.getPlugin(Some.class) since it's impossible for that to fail, but for there to still be a plugin instance in some static field.
2023-11-12 13:40:02 +00:00
Brandon
5d2151f1cd Discard entities before adding NPCs 2023-11-10 22:21:58 +00:00
AngrySoundTech
3c6225b0d7 Bump version to 3.0.7 2023-10-27 12:10:13 -04:00
AngrySoundTech
eb4aecaf01 Bump version to 2.0.3 2023-10-27 11:14:45 -04:00
RedDevel2
14f1bf3d2c Update GenerateDiscordAuthCodeCommand.java
I am coder now
2023-10-26 23:15:04 +02:00
Jeremy Favro
decd37c8d4 Add restrictions to looms, smithing tables, and anvils with compacted items 2023-10-04 14:54:18 -04:00
Jeremy Favro
43b6b43ceb Fix compacting/decompacting of lored and enchanted items 2023-10-03 19:25:49 -04:00
Jeremy Favro
b0cd62388f ItemMap no longer ignores repair level 2023-10-03 17:10:40 -04:00
okx-code
c7cd3fe70f only fire event if snitch is active 2023-09-03 17:47:33 +01:00
AngrySoundTech
169745f7a5 Bump version to 3.0.4 2023-08-25 09:20:49 -04:00
AngrySoundTech
c05a42a7df Bump version to 2.1.0 2023-08-25 09:09:34 -04:00
okx-code
71fa59a11c make sure this isn't too broken 2023-07-29 01:53:59 +01:00
okx-code
4adbfabdca async randomspawn 2023-07-28 22:53:57 +01:00
Walkers
7fcdb1c588 add options to pick kill format in config menu 2023-07-23 19:06:21 +01:00
Walkers
3254f405ac fix for when globalChat group not in config 2023-07-21 12:35:07 +01:00
Walkers
0e8e0e0bb7 fix for kill msg by hand 2023-07-21 11:09:40 +01:00
Walkers
c60c2719b9 update so only wordbank names appear 2023-07-21 11:03:17 +01:00
Walkers
f2644b5081 make kill message colour consistent with item name 2023-07-20 17:30:23 +01:00
wingzero54
dd0738a59a Update version 2023-07-16 09:45:32 -05:00
wingzero54
91b5b22dcf Update version 2023-07-16 09:43:23 -05:00
wingzero54
228fb7adfc Update version 2023-07-16 09:40:23 -05:00
wingzero54
fda7cf40fb Merge pull request #41 from okx-code/fix-culling
Fix dormant snitches still being active & snitches not changing state over restarts
2023-07-16 09:40:03 -05:00
wingzero54
d4fedf64b8 Merge pull request #42 from okx-code/sql-queries
Reduce number of queries per snitch on startup by 2
2023-07-16 09:37:57 -05:00
wingzero54
623442aa6a Update version 2023-07-16 09:36:51 -05:00
wingzero54
fe344e2715 Update Version 2023-07-16 09:34:26 -05:00
okx-code
4831fae5cd update appenders directly 2023-07-07 00:55:29 +01:00
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