Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Convert worldguard regions to grief prevention regions #64

Open
wants to merge 538 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
538 commits
Select commit Hold shift + click to select a range
70b6574
Refactor overlap check (#934)
Jikoo Aug 31, 2020
4035f40
Revert "Refactor overlap check (#934)" (#995)
RoboMWM Sep 4, 2020
39e9d48
Improve overlap test and amend PR #934 (#999)
Jikoo Sep 7, 2020
81cfc8f
Confirm /abandonallclaims (#1000)
Jikoo Sep 7, 2020
766b34a
Add several hostile non-monsters (#927)
Jikoo Sep 7, 2020
1928b7e
Add ClaimExtendEvent (#947)
FrankHeijden Sep 7, 2020
cd5046f
Stop execution if PreventPvPEvent is canceled (#998)
FrankHeijden Sep 7, 2020
e3bce9a
git add --renormalize .
RoboMWM Sep 7, 2020
39f385e
Add static getHandlerList to TrustChangedEvent (#1003)
Sep 10, 2020
e8c9222
Fix /AbandonAllClaims usage (#1009)
Jikoo Sep 14, 2020
afd6aea
bump version... was supposed to happen a commit ago
RoboMWM Sep 14, 2020
a3b8b6f
add more debug messages on claim expiration
RoboMWM Sep 14, 2020
581e888
Add new, efficient options for handling pistons (#933)
Jikoo Sep 14, 2020
2048a9f
Support plugins that use SignChangeEvent to check sign editing permis…
Deltik Sep 14, 2020
b5542e2
Fix NPE in admin claims (#1011)
Jikoo Sep 15, 2020
eff7594
Fix error in piston mode migration (#1013)
Jikoo Sep 17, 2020
88dd685
Use constant for farming block list (#1014)
Jikoo Sep 17, 2020
47cd376
Remove explicit type declaration (#1015)
Jikoo Sep 17, 2020
bf214af
Use enhanced for loop where applicable (#1016)
Jikoo Sep 19, 2020
26124d3
Finalize fields where possible (#1021)
Jikoo Sep 20, 2020
9622eea
StringBuilder#append should not contain concatenation (#1020)
Jikoo Sep 20, 2020
6e055c9
Stop boats from breaking item frames in claims (#1029)
akdukaan Sep 26, 2020
74700dc
Add option to enforce a minimum claim size for automatically-generate…
Jikoo Oct 2, 2020
dbe4a10
Fix new config node not being created (#1040)
Jikoo Oct 2, 2020
1237276
Use EnumSet for Material (#1038)
Jikoo Oct 3, 2020
6e42ed0
Fix WordFinder matching anything with empty BannedWords.txt (#1045)
Jikoo Oct 4, 2020
287bf22
Fix /gpblockinfo causing legacy load (#1043)
Jikoo Oct 4, 2020
2df648f
Update and improve economy handling (#1042)
Jikoo Oct 6, 2020
ddd5783
Remove duplicates, move to Tags where possible (#1041)
Jikoo Oct 7, 2020
97cbd80
Allow any type of Zombie to convert villagers. (#1050)
lmichaelis Oct 9, 2020
e4a666f
Make sound of piston explosions toggleable (#996)
FrankHeijden Oct 12, 2020
a34a0fe
Fix piston retraction checking one block further than it needs to (#1…
jacob1 Oct 12, 2020
af25b28
Fix piston checks in subclaims (#1056)
FrankHeijden Oct 12, 2020
202f03e
version 16.16.0
RoboMWM Oct 17, 2020
03074bf
Make placing and breaking boats use containertrust (#1065)
FreeMonoid Oct 24, 2020
746f104
Fix restore nature removing top level of liquids (#1066)
FreeMonoid Oct 24, 2020
0ceb6f8
Fix subclaims being added to chunk claims map when resized (#1082)
Jikoo Oct 29, 2020
e1086c3
Fix incorrect retract check and everywhere modes checking subclaim (#…
Jikoo Oct 29, 2020
8c7abf9
Piston should not be included in moved block bounding box (#1088)
Jikoo Nov 5, 2020
00d9e16
add chat page
RoboMWM Nov 10, 2020
580f009
Create CNAME
RoboMWM Nov 10, 2020
a22d1c1
Update FUNDING.yml
RoboMWM Nov 13, 2020
f5ebbc4
Update README.md
RoboMWM Nov 13, 2020
8087dd4
Update README.md
RoboMWM Nov 13, 2020
7d42328
remove relative links
RoboMWM Nov 13, 2020
1f98733
Fix claims in other worlds preventing piston movement with EVERYWHERE…
Jikoo Nov 15, 2020
8465d19
Update to current Biome API (#1044)
Jikoo Nov 18, 2020
16d5a8c
Create release-drafter.yml
RoboMWM Nov 25, 2020
e8442fc
Create release-drafter.yml
RoboMWM Nov 25, 2020
eaaa423
reinstate default of max accrual blocks to 80k
RoboMWM Nov 29, 2020
293142d
Stop block explosions damaging claimed entities (#1122)
Jikoo Nov 29, 2020
efcfbab
Update index.html
RoboMWM Dec 3, 2020
98a1da7
Update README.md
RoboMWM Dec 3, 2020
8f739c6
disable use of blank template, questions link to discussions
RoboMWM Dec 8, 2020
ea185ad
also link out feature requests since the majority of those are addon …
RoboMWM Dec 8, 2020
8844f05
remove issue templates in favor of discussion links
RoboMWM Dec 8, 2020
11c8b88
add link to discussions in chat html
RoboMWM Dec 9, 2020
446ca6b
add responsive iframe chat window
RoboMWM Dec 9, 2020
07fad14
properly indent chat page
RoboMWM Dec 9, 2020
21977ce
reduce chatbox height a tad
RoboMWM Dec 9, 2020
058b300
Update index.html
RoboMWM Dec 9, 2020
6927a0b
add discussions URL to readme
RoboMWM Dec 9, 2020
d5c5e49
Refactor boundary checks into unified bounding box (#1126)
Jikoo Dec 9, 2020
de7a137
Avoid requesting invalid names from Mojang (old UUID conversion code)…
Jikoo Dec 9, 2020
e74ad1f
revert to using static calls instead of instance (#1017)
Jikoo Dec 9, 2020
f01798f
Refactor pistons to use new bounding box (#1139)
Jikoo Dec 9, 2020
03ab872
Fix reversed conditional (#1138)
Jikoo Dec 9, 2020
3350e2a
Fix claim bounding boxes not covering whole claim (#1145)
Jikoo Dec 10, 2020
c014901
Prevent doublechests forming on claim boundary (#1054)
FrankHeijden Dec 10, 2020
d126b90
Fix rounding error on partial negative coordinates (#1147)
Jikoo Dec 11, 2020
1edd0a9
Fix resizing 1-wide claims (#1148)
Jikoo Dec 12, 2020
9d4d8c5
Update README.md
RoboMWM Dec 13, 2020
690975d
dumcord will live on
RoboMWM Dec 13, 2020
f50e08b
Update README.md
RoboMWM Dec 13, 2020
bb7768c
prepare pom for deploying to maven central
RoboMWM Dec 14, 2020
0052152
remove release drafter for now
RoboMWM Dec 14, 2020
bac6ce0
add maven release plugin
RoboMWM Dec 14, 2020
8b139c2
[maven-release-plugin] prepare release 16.17.0
RoboMWM Dec 14, 2020
2d68fa5
[maven-release-plugin] prepare for next development iteration
RoboMWM Dec 14, 2020
c235bb0
Make POM more explicit about plugin versions (#1153)
nouish Dec 14, 2020
329bfb5
Add waterlogging check for buckets (#1156)
nouish Dec 16, 2020
1838c78
update chat page
RoboMWM Dec 17, 2020
ddcf4b2
apparently MOSS is censoring "dumcord" which is leading to dropped me…
RoboMWM Dec 17, 2020
7ce30c6
Allow for sqlite backend to be used (#1157)
nouish Dec 18, 2020
2f0f98d
add "test with vanilla client" debugging step
RoboMWM Dec 19, 2020
e95b798
Add the involved entities in PreventPvPEvent (#1186)
FrankHeijden Jan 9, 2021
5a70d69
Prevent egg hatching in claims without container permission (#1128)
YanisBft Jan 13, 2021
936b20a
Update build instructions to use 16.17.1 (#1163)
HexedHero Jan 19, 2021
2b69191
[maven-release-plugin] prepare release 16.17.1
RoboMWM Jan 19, 2021
db842ed
[maven-release-plugin] prepare for next development iteration
RoboMWM Jan 19, 2021
6ac1666
Add cocoa to farm blocks
RoboMWM Jan 20, 2021
83e89b3
remove unused lightning strike event handler
RoboMWM Jan 20, 2021
01241d8
Update README.md
RoboMWM Jan 23, 2021
21d7b10
Update README.md
RoboMWM Jan 23, 2021
4e09977
Update README.md
RoboMWM Jan 23, 2021
8956a37
use git describe variable for version
RoboMWM Jan 24, 2021
e0f7e3c
slightly reduce chatbox height
RoboMWM Feb 19, 2021
b3774ef
Check before casting to mob (#1281)
Jikoo Feb 23, 2021
e6d608b
Fix ignoring height (#1260)
Jikoo Apr 8, 2021
e63d1d9
Update bug-report.md
RoboMWM Apr 29, 2021
64df0e8
don't delete claims in unloaded worlds in flatfile storage
RoboMWM May 29, 2021
cac5aa0
Prevent nametag usage unless player can kill target (#1337)
Jikoo May 29, 2021
6e62779
Include scope in dependency information (#1390)
Jikoo Jun 5, 2021
f4680c4
Change method signature of allowBreak method in main class (#1406)
solarrabbit99 Jun 17, 2021
fbf4c7c
Protect glow item frames (#1413)
akdukaan Jun 19, 2021
bbb1e5d
Add ClaimPermissionCheckEvent (#1006)
Jikoo Jun 24, 2021
6727fa7
Fix deprecated claim API (#1439)
Jikoo Jul 4, 2021
528f9f9
Update to 1.17 (#1448)
Jikoo Jul 10, 2021
5a9a71f
Set up GitHub actions maven workflow (#1454)
nouish Jul 12, 2021
5a08295
Actions workflow: build all branches (#1456)
nouish Jul 12, 2021
fadc1aa
protect glow berries (#1459)
akdukaan Jul 16, 2021
d930e45
Fix falling block and vehicle block change handling (#1424)
Jikoo Jul 16, 2021
16036bd
Deny pumpkin carving in untrusted claims (#1473)
akdukaan Jul 17, 2021
6382a9f
Config option on silencing ban messages (#1480)
akdukaan Jul 21, 2021
7723d10
Fix NPE when using `allowBuild` in a claim that the player has permis…
MrPowerGamerBR Jul 31, 2021
219cf6e
Fix max depth below world height (#1502)
Jikoo Aug 2, 2021
e8c5b37
ink/glow ink sacs on signs require build permission (#1508)
multirp Aug 8, 2021
1347291
Protect candles from being extinguished (#1526)
akdukaan Aug 19, 2021
e6ce386
resolve NPE when calling Claim.allowEdit (#1580)
loganb1max Sep 12, 2021
ed92324
Fix check for expiring chest claims (#1600)
Bobcat00 Sep 28, 2021
a844e39
Fix some issues with splash potions (#1636)
Jikoo Oct 25, 2021
6debf36
Convert to YAML issue template (#1638)
Jikoo Oct 27, 2021
4bb31bc
Update Java and fix AppVeyor (#1663)
Jikoo Dec 5, 2021
ca11fd1
API: add ClaimTransferEvent (#1641)
bertek41 Dec 5, 2021
c64baf0
Sanitize claim depth on extend/resize (#1598)
Jikoo Dec 5, 2021
4b0998d
Protect rooted_dirt (#1541)
akdukaan Dec 5, 2021
62a1006
Better handling of usernames with periods (#1543)
Camotoy Dec 5, 2021
a7cb4a0
Don't fire EntityDamageByEntityEvent when renaming (#1680)
Jikoo Dec 5, 2021
137a951
Fix WorldGuard integration (#1630)
Kamilkime Dec 10, 2021
9badf7e
Fix 1.18 biome issues, maintain 1.17 compat (#1694)
Jikoo Dec 10, 2021
3562a23
Clean up events for add-ons (#1706)
Jikoo Dec 10, 2021
43536ba
[maven-release-plugin] prepare release 16.18-RC1
RoboMWM Dec 14, 2021
06cc566
[maven-release-plugin] prepare for next development iteration
RoboMWM Dec 14, 2021
0e3a2e9
Fix new depth not being set correctly (#1736)
Jikoo Jan 5, 2022
cadca15
Rework Visualizations (#1741)
Jikoo Feb 28, 2022
0c66eb7
Fix incorrect permission bypass for Edit ClaimPermission (#1772)
Jikoo Feb 28, 2022
77dd0f7
encourage reporters to not use paste sites
RoboMWM Feb 28, 2022
b37afcb
[maven-release-plugin] prepare release 16.18
RoboMWM Feb 28, 2022
6e0c363
[maven-release-plugin] prepare for next development iteration
RoboMWM Feb 28, 2022
9c196a3
cleanup readme a little bit
RoboMWM Mar 1, 2022
eacbe81
Pass ignition to entity change block handler (#1828)
Jikoo Mar 5, 2022
6b87e03
Candles require full trust (#1827)
Jikoo Mar 5, 2022
fe94717
Improve claim creation over existing builds (#1839)
Jikoo Apr 1, 2022
e165e44
Don't send death message if death event message is null (#1880)
Jaren8r May 25, 2022
b3eb4cc
Add config version node, automatically update maxDepth (#1871)
Jikoo May 25, 2022
c67a5d8
Fix potential NPE visualizing conflict zones (#1854)
Jikoo May 25, 2022
d75b3cd
Stop people creating nether portals in claimed land (#1842)
jok-dev May 25, 2022
6d0a1b9
Remove TheUnderground from loadbefore (#1912)
Owen1212055 Jul 22, 2022
058ae98
Prevent theft from water/lava cauldrons. (#1908)
RezzedUp Jul 23, 2022
a2a6856
Fix visualization O(n2) performance (#2008)
TauCubed Feb 20, 2023
8e28054
Don't re-render duplicate boundary visualizations (#1987)
Jikoo Feb 20, 2023
23e0dd9
Remove `TheUnderground` from softdepend (#2010)
bigpresh Feb 20, 2023
0305216
Add permission allowing pre-movement chat (#1996)
Bobcat00 Feb 28, 2023
7bd9696
Allow Datastore.getClaim(long id) to return subclaims (#2011)
akdukaan Mar 3, 2023
b953e50
Reload messages on /gpreload (#1266)
budi1200 Mar 9, 2023
3966ac4
Use a specific permission for /abandonallclaims (#1931)
YanisBft Mar 9, 2023
eb671b0
Fix ClaimResizeEvent generating deprecated event warning (#2015)
Jikoo Mar 11, 2023
036f1f8
[maven-release-plugin] prepare release 16.18.1
RoboMWM Mar 11, 2023
870141c
[maven-release-plugin] prepare for next development iteration
RoboMWM Mar 11, 2023
18a071c
Add overload for friendly AnimalTamer name fetch (#2022)
Jikoo Apr 9, 2023
8f393aa
Pass ignition by players to BlockBreakEvent handler (#2050)
Jikoo May 3, 2023
e5f579d
Resolve UUID strings when matching players (#2045)
Jikoo May 3, 2023
175a2e2
Add CommandHelper to softdepend (#2043)
malonnnn Jun 18, 2023
38c4cdb
Major cleanup/refactor of entity damage handling (#2040)
Jikoo Jun 19, 2023
64b348a
Allow fluids to flow between claims of the same owner (#1218)
FreeMonoid Jun 19, 2023
6d90c7f
protect iron doors and trapdoors (for purpur servers) (#2068)
BillyGalbreath Jun 20, 2023
b6a452a
Update README.md
RoboMWM Jun 22, 2023
1f23264
Update chat page
RoboMWM Jun 22, 2023
5fe1e77
add download link to readme
RoboMWM Jun 22, 2023
d6b2c5e
Parameter to show claim owner in TrustListHeader (#1899)
akdukaan Jun 22, 2023
79e7813
remove unused accrual permissions (#2074)
RoboMWM Jun 22, 2023
13b57d6
Prevent passive mobs from picking up PvE death drops (#2071)
Jikoo Jun 22, 2023
d154c39
Improve re-drawing existing visualizations (#2081)
Jikoo Jun 23, 2023
3cd3c33
Use economy's format for currency (#2084)
Jikoo Jun 28, 2023
7e86ad6
Fix potion thrower potentially being spammed denial (#2083)
Jikoo Jun 28, 2023
19cb0e3
Restrict modifying signs (#2080)
Jikoo Jun 28, 2023
a8d55db
Handle ignited entities melting powdered snow (#2082)
Jikoo Jun 28, 2023
0af8d9e
Avoid using Inventory.getHolder() in hopper check (#2086)
nouish Jun 29, 2023
b23e34a
Don't use global firespread rules for wilderness TNT ignition by proj…
Jikoo Jun 29, 2023
779be88
Player must be in survival gamemode before creating an automatic clai…
akdukaan Jul 12, 2023
cc13660
Revamp readme (#2109)
QarthO Jul 18, 2023
76a5357
Fix header image (#2114)
QarthO Jul 18, 2023
dfca817
Fix command usage not having correct casing (#2132)
Jikoo Aug 8, 2023
8f3f249
Fix Tameable protections (#2131)
Jikoo Aug 8, 2023
de1e72d
Use HashSet instead of EnumSet for Material (#2127)
Jikoo Aug 8, 2023
ef2ec50
Build material definitions once on instantiation (#2143)
Jikoo Aug 24, 2023
5d428d8
Remove EntityPortalExitEvent handling (#2124)
TreemanKing Oct 4, 2023
ee0d17b
Improve sign interaction handling (#2142)
Jikoo Oct 4, 2023
ee818cc
Add config option for mob projectiles changing blocks in claims (#2099)
Swordstone86 Oct 4, 2023
da38fbd
Fix aggressive panda handling (#2144)
Jikoo Oct 5, 2023
e49446d
Create CONTRIBUTING.md
RoboMWM Oct 14, 2023
f7e86c0
Protect decorated pots on 1.20.3+ (#2181)
QarthO Jan 5, 2024
8810ed8
Update api-version to 1.19 (#2192)
Jikoo Jan 8, 2024
122f7f2
[maven-release-plugin] prepare release 17.0.0
RoboMWM Jan 9, 2024
25e5645
[maven-release-plugin] prepare for next development iteration
RoboMWM Jan 9, 2024
04e7bc7
[maven-release-plugin] rollback the release of 17.0.0
RoboMWM Jan 9, 2024
4da4f55
this is 17.0.0-SNAPSHOT
RoboMWM Jan 9, 2024
9fd8b49
Remove worldguard dependency
RoboMWM Jan 9, 2024
f1656fe
protect wolves (#2196)
QarthO Jan 19, 2024
f1e448d
Delete CNAME
RoboMWM Jan 19, 2024
05e1b56
Delete chat/index.html
RoboMWM Jan 19, 2024
0b505bf
Improve name lookups (#2213)
Jikoo Feb 13, 2024
5ff4286
1.20.4 changes - SHORT_GRASS and EntityDamageByEntityEvent changes (#…
QarthO Feb 16, 2024
9b671d0
refactor EntityDamageByEntity handling to not use constructor (#2220)
QarthO Feb 17, 2024
b3ad70a
also build legacy/v16 branch
RoboMWM Feb 17, 2024
2979b7e
Extract claim command from main class (#2090)
Jikoo Feb 20, 2024
5ca8412
Remove creative entity/tile limits (#2229)
Jikoo Mar 2, 2024
510554f
add gpl 3 license (#2224)
QarthO Mar 2, 2024
a1c6baf
Update CI action (#2223)
Jikoo Mar 2, 2024
947535b
make appveyor build faster
RoboMWM Mar 2, 2024
0a3b503
make test_script build_script
RoboMWM Mar 2, 2024
3a6dd03
Improve pet release feature (#2226)
Jikoo Mar 2, 2024
404c568
Use BB logic for tree/portal creation (#1921)
Jikoo Mar 2, 2024
8d285b5
Remove siege (#2237)
RoboMWM Mar 3, 2024
23a515c
Update and use new metrics (#2238)
RoboMWM Mar 3, 2024
91c21b2
Fix unchecked player cast (#2244)
Jikoo Mar 5, 2024
cfee064
try jikoo's suggestions
RoboMWM Mar 5, 2024
c343a03
Remove pet release feature (#2241)
Jikoo Mar 5, 2024
b384806
Fix blocks not landing in subclaims from parent (#2245)
Jikoo Mar 8, 2024
000d884
Improve messaging (#2251)
Jikoo Mar 15, 2024
13cabaf
Refactor and unify command monitoring logic (#2250)
Jikoo Mar 29, 2024
3e32e38
Add fire variants to proximity blocking (#2262)
Jikoo Mar 29, 2024
0234072
Add claim inspection cooldown (#2253)
Jikoo Mar 29, 2024
8a9b46c
refactor duplicated damage handling code (#2252)
Jikoo Mar 29, 2024
d00263a
Add cooldown for /claimexplosions hint (#2266)
yLordMagnus Mar 29, 2024
2d4b89e
Remove economy, vault dependency (#2268)
RoboMWM Mar 29, 2024
e85054b
Handle entities that pass through an end portal (#2246)
Jikoo Mar 29, 2024
5df4c5d
Include denying chorus fruit teleports when denying enderpearl telepo…
QarthO Apr 4, 2024
2e8aae2
add gitattributes
RoboMWM Apr 9, 2024
c7a37bd
normalize line endings in PlayerEventHandler
RoboMWM Apr 9, 2024
fda72e9
Fix missed console color issues (#2270)
Jikoo Apr 16, 2024
f21777d
Remove EOL specification from .editorconfig (#2275)
RoboMWM Apr 16, 2024
7da9db3
Refactor left click watchlist (#2271)
Jikoo Apr 16, 2024
bf64601
Remove old fire handling (#2263)
Jikoo Apr 16, 2024
4c71b71
Sanitize claim corners on creation (#2284)
Jikoo Apr 25, 2024
f6388bd
Ignore trash blocks when auto-extending (#2255)
Jikoo Apr 26, 2024
14ce8e6
Don't allow claims to be made outside of worldborder (#2287)
QarthO Apr 28, 2024
2330e54
handle windcharges with new explosion type api + refactoring
Jikoo Jul 12, 2024
4507ba1
Bundle default messages into Messages enum (#2329)
Jikoo Jul 14, 2024
5d0ebde
Remove restorenature (#2332)
RoboMWM Jul 17, 2024
9cb754e
Remove /givepet (#2338)
Jikoo Jul 22, 2024
87bfac6
Fix loading modern messages (#2342)
Jikoo Jul 26, 2024
2debfaf
update maven git commit id plugin (#2347)
MajdT51 Aug 3, 2024
9dca78a
Deny cauldron interactions from untrusted players (#2354)
MaksyKun Aug 16, 2024
330fd1e
Fix NPE, restore PlayerData when using claim tool (#2359)
Jikoo Aug 23, 2024
c7151e4
Remove gpblockinfo (#2355)
Jikoo Aug 23, 2024
1e5f48a
Use separate file for database configuration (#2356)
Jikoo Sep 7, 2024
c6c8aa4
cache claim IDs (#2373)
casperwtf Oct 7, 2024
b6512aa
Modify claimblock accrual idle detection and handling (#2371)
RoboMWM Oct 12, 2024
194aaf4
Add checks to claim commands (#2389)
Jikoo Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
508 changes: 508 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

# Declare text file types just in case
*.java text
*.yml text
*.xml text
*.md text

# Image files are treated as binary by default
#*.jpg binary
#*.png binary
#*.gif binary
26 changes: 26 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Pull Requests

Pull requests are encouraged! To increase the likelihood of your PR being pulled, here are some guidelines to follow:

- Each PR must address only a single feature/improvement
- This makes for an easier-to-read diff and focused feedback.
- PRs that aim to solve multiple issues causes scattered feedback and a hard-to-follow diff

- Maintain consistency where possible
- Newline braces
- The majority of 16.x uses tabs
- Version 20+ will uses spaces
- This guideline will be updated when version 20 becomes generally available

- Do not change version in pom.xml.

- Feel free to contribute to the dev/v20 branch (may be advised to discuss in #63)

## Tips
- Avoid nesting - check for the inverted value and return early (not easy to do though in legacy versions where many methods are "uber methods" containing a lot of control flow).
- Use `Entity#getType` instead of `instanceof` where appropriate (`getType` is faster).

# Issues

- Try to search for your bug/suggestion first. Someone may have already created one.
- If not, please fill out the template for the respective issue you are creating.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patreon: RoboMWM
153 changes: 153 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
name: Bug report
description: Report bugs or stack traces (red lines from your logs that say SomethingException).
labels: [ "Unverified Bug" ]
body:

- type: markdown
attributes:
value: |
## Bug Report

- type: textarea
attributes:
label: Observed Behavior
description: What you saw happen
placeholder: Untrusted players can do a bad thing inside claims.
validations:
required: true

- type: textarea
attributes:
label: Expected Behavior
description: What you expected to happen
placeholder: Claims should stop untrusted players from doing the bad thing.
validations:
required: true

- type: textarea
attributes:
label: Reproduction steps
description: This may include a build schematic, a video, or detailed instructions to help reconstruct the issue.
placeholder: |
1. Step 1.
2. Step 2.
3. ???
4. Profit!
validations:
required: true

- type: textarea
attributes:
label: Stack trace or error log
description: |
Please paste in the entire stack trace or error log. Be careful to include both the exception itself and the cause!
If the logs are egregiously long, please create a [gist](https://gist.github.com) and paste the link instead.
placeholder: |
[12:34:56] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'example' in plugin GriefPrevention v1.2.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:version]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:version]
Caused by: java.lang.IllegalArgumentException: This is an example!
at me.ryanhamshire.GriefPrevention.GriefPrevention.onCommand(GriefPrevention.java:1) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:version]
... 10 more
render: shell
validations:
required: false

- type: markdown
attributes:
value: "## Server Information"

- type: textarea
attributes:
label: Server version
description: |
Run `/version` on your server and paste the output here.
"latest" is *not* a version; we require the exact output to be able to reproduce your setup.
Please do not provide a screenshot, it is much easier for us to use text-based output.
placeholder: |
> version
[12:34:56 INFO]: This server is running Server version git-Server-sample-text (MC: 1.2.3) (Implementing API version 1.2.3-R0.1-SNAPSHOT)
render: shell
validations:
required: true

- type: textarea
attributes:
label: GriefPrevention version
description: |
Run `/version GriefPrevention` on your server and paste the output here.
"latest" is *not* a version; we require the exact output to be able to reproduce your setup.
Please do not provide a screenshot, it is much easier for us to use text-based output.
placeholder: |
> version GriefPrevention
[12:34:56 INFO]: GriefPrevention version 1.2.3
render: shell
validations:
required: true

- type: textarea
attributes:
label: Configuration
description: Please paste your entire configuration here. Please do not use paste sites.
render: yaml
validations:
required: true

- type: textarea
attributes:
label: Plugin list
description: |
If relevant, run `/plugins` on your server and paste the output here.
Please do not provide a screenshot, it is much easier for us to use text-based output.
placeholder: |
> plugins
[12:34:56 INFO]: Plugins (1): GriefPrevention
render: shell
validations:
required: false

- type: markdown
attributes:
value: "## Debugging steps"

- type: checkboxes
attributes:
label: Running without GriefPrevention
description: If applicable, have you tried running the server without GriefPrevention installed?
options:
- label: I attempted running the server without GriefPrevention installed.
- label: The problem does _not_ occur when GriefPrevention is removed from the server.
- type: checkboxes
attributes:
label: Running with only GriefPrevention
description: Have you tried running the server with only GriefPrevention installed?
options:
- label: I attempted running only GriefPrevention on the server.
- label: The issue still occurs when GriefPrevention is the only plugin running.
- type: checkboxes
attributes:
label: Running on a fresh, clean server installation
description: Have you tried downloading fresh copies of the server and relevant plugins?
options:
- label: I attempted testing for the issue on a new server.
- label: The issue still occurs on a new server.
- type: checkboxes
attributes:
label: Using unmodified client
description: Have you tried using a vanilla (unmodified) Minecraft client?
options:
- label: I attempted testing for the issue with the vanilla client.
- label: The issue still occurs when using the vanilla client.

- type: markdown
attributes:
value: "## Thank you"

- type: checkboxes
attributes:
label: We appreciate you taking the time to fill out a bug report!
options:
- label: I searched for similar issues before submitting this bug report.
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Feature Requests
url: https://github.com/TechFortress/GriefPrevention/discussions?discussions_q=category%3AIdeas
about: Improvements or ideas for GriefPrevention
- name: Questions
url: https://github.com/TechFortress/GriefPrevention/discussions
about: Got a question? Ask in Discussions
31 changes: 31 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes

$CHANGES
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
pull_request:

jobs:
test:
name: "Test on JDK ${{ matrix.java }}"
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 21 ]
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Set up JDK ${{ matrix.java }}"
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: maven
- name: "Test"
run: mvn --batch-mode verify
80 changes: 80 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear

# =========================
# Ignore Eclipse Artifacts
# =========================
.settings/
.classpath
.project

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows
# =========================

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# IntelliJ
workspace.xml
tasks.xml
.idea/libraries
.idea/copyright
out/
target/
*.MF
*.name
.idea
*.iml

# VS Code
.vscode/
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Contributing Guidelines

Thank you for considering contributing to GriefPrevention! This document outlines the guidelines for contributing to this repository.

## Branches
- **legacy/v16** branch: This branch will only accept bugfixes for the legacy version 16 of GriefPrevention. Small features may also be considered, but it's recommended you help implement those into master.
- **master** branch: This branch follows the roadmap. Please refer to the [roadmap](https://github.com/orgs/TechFortress/projects/6) for more information. You may propose additional features, but the roadmap takes precedence. Discussion of the roadmap can be found in this [discussion thread.](https://github.com/TechFortress/GriefPrevention/discussions/2065)

## Pull Requests
<!--- Please ensure that your pull request adheres to the [pull request template](https://github.com/TechFortress/GriefPrevention/blob/master/.github/PULL_REQUEST_TEMPLATE.md).-->
- Please ensure that your pull request has a descriptive title and summary.
- Please ensure that your pull request is tested and does not break any existing functionality.

Thank you for your contribution!
Loading