Skip to content

Commit

Permalink
make some adjustments to the overall plugin
Browse files Browse the repository at this point in the history
updated some comments in the configs
  • Loading branch information
Mardssss committed May 6, 2024
1 parent 791b2be commit 07588bf
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 176 deletions.
8 changes: 8 additions & 0 deletions .idea/artifacts/AntiMobBuild_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.example.test</groupId>
<artifactId>AntiMobBuild</artifactId>
<version>2.5-test</version>
<version>3.0.0</version>
<packaging>jar</packaging>

<properties>
Expand Down
7 changes: 4 additions & 3 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,17 @@ can-spawn-silver-fish-on-blocks: false

# Set to 'true' to allow mobs to spawn from eggs.
# Set to 'false' to prevent mobs from spawning from eggs.
# Add exceptions: if you set WOLF ad as exceptions and natural-mob-spawn is true , only wolf can spawn
can-spawn-from-eggs:
worlds:
- world1:
enabled: true
exceptions:
- WOLF

# set to false to enable natural mob spawning
# set it to true to disable natural mob spawning
# add exceptions , if you set WOLF as exceptions and natural-mob-spawn is true , only wolf can spawn
# Set to 'false' to enable natural mob spawning
# Set to 'true' to disable natural mob spawning
# Add exceptions: if you set WOLF as exceptions and natural-mob-spawn is true , only wolf can spawn
natural-mob-spawn:
worlds:
- world1:
Expand Down
34 changes: 32 additions & 2 deletions src/main/resources/messages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
irongolem-spawn-denied: "§cIrongolem spawn is not allowed"
# AntiMobBuild Configuration

############################################
# #
# ___ __ ___ ____ #
# / | / |/ // __ ) #
# / /| | / /|_/ // __ | #
# / ___ | / / / // /_/ / #
# /_/ |_|/_/ /_//_____/ #
# #
# AntiMobBuild #
# #
############################################

# Message displayed when spawning an Iron Golem is denied
irongolem-spawn-denied: "§cIrongolem spawning is not allowed."

# Message displayed when spawning a Wither is denied
wither-spawn-denied: "§cWither spawning is not allowed."

# Message displayed when spawning a Snowman is denied
snowman-spawn-denied: "§cSnowman spawning is not allowed."

# Message displayed when curing a Villager is denied
villager-cure-denied: "§cVillager curing is not allowed."

# Message displayed when infecting a Villager is denied
villager-infection-denied: "§cVillager infection is not allowed."

# Message displayed when spawning a Silverfish is denied
silverfish-spawn-denied: "§cSilverfish spawning is not allowed."

# Message displayed when spawning mobs from eggs is denied
spawn-from-eggs-denied: "§cSpawning mobs from eggs is not allowed."
natural-spawn-denied: "§cCan't spawn mobs from natural means."

# Message displayed when spawning mobs through natural means is denied
natural-spawn-denied: "§cSpawning mobs through natural means is not allowed."

2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ api-version: 1.16
author: Mardssss
commands:
amb:
description: Reloads the configuration
description: Reloads the configuration files
usage: /amb reload
permission: antimobbuild.reload
aliases: [antimobbuild]
Expand Down
Binary file removed target/AntiMobBuild-1.0-SNAPSHOT-shaded.jar
Binary file not shown.
Binary file removed target/AntiMobBuild-1.0-SNAPSHOT.jar
Binary file not shown.
78 changes: 0 additions & 78 deletions target/classes/backup

This file was deleted.

63 changes: 0 additions & 63 deletions target/classes/config.yml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
17 changes: 0 additions & 17 deletions target/classes/plugin.yml

This file was deleted.

5 changes: 0 additions & 5 deletions target/maven-archiver/pom.properties

This file was deleted.

This file was deleted.

This file was deleted.

Binary file removed target/original-AntiMobBuild-1.0-SNAPSHOT.jar
Binary file not shown.

0 comments on commit 07588bf

Please sign in to comment.