Skip to content

Commit e5c8dab

Browse files
committed
Remove useless item_names.txt (Fix #31)
1 parent d10ae96 commit e5c8dab

File tree

4 files changed

+3
-1235
lines changed

4 files changed

+3
-1235
lines changed

plugin/src/main/java/de/epiceric/shopchest/ShopChest.java

-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ public void onEnable() {
172172
}
173173

174174
shopUtils = new ShopUtils(this);
175-
saveResource("item_names.txt", true);
176175

177176
File hologramFormatFile = new File(getDataFolder(), "hologram-format.yml");
178177
if (!hologramFormatFile.exists()) {

plugin/src/main/resources/config.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#
55
# Lines starting with '#' are comments and are ignored by the server.
66
#
7-
# You can find item names in the 'item_names.txt' file.
87

98
# Set the main command you have to enter to manage the shops.
109
# (default: "/shop ...")
@@ -221,4 +220,4 @@ database:
221220
username: ""
222221

223222
# ...password you are going to login with
224-
password: ""
223+
password: ""

plugin/src/main/resources/hologram-format.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# IN_STOCK, MAX_STACK, CHEST_SPACE, DURABILITY
1010
#
1111
# You can also use the requirements for conditions.
12-
# ITEM_TYPE will return the type of the item (-> item_names.txt),
12+
# ITEM_TYPE will return the type of the item (-> See Bukkit Material enum),
1313
# ITEM_NAME can be compared against a custom named item's name (may be null).
1414
#
1515
# Examples:
@@ -75,4 +75,4 @@ lines:
7575
only-sell:
7676
format: "Sell %SELL-PRICE%"
7777
requirements:
78-
- SELL_PRICE > 0
78+
- SELL_PRICE > 0

0 commit comments

Comments
 (0)