You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,10 +18,14 @@ If you ever manage to break the `config.yml` or accidentally emptied the config.
18
18
<summary>config.yml</summary>
19
19
20
20
```yml
21
-
#The command's settings
21
+
#DupePlus's Settings
22
22
# Message Variables
23
-
# %dupe_item% = The Duplicated item
24
-
# %prefix% = The default prefix or the prefix you set
23
+
# %item_type% = The Duplicated item
24
+
# %item_name% = The Item's Display Name
25
+
# %old_item_count% = The Item Count before dupe
26
+
# %new_item_count% = The Item Count after dupe
27
+
# %item_count% = Item Count
28
+
# %prefix% = The Default prefix or the prefix you set
25
29
# %max% = The maximum
26
30
# %min% = The minimum
27
31
@@ -35,17 +39,29 @@ dupe:
35
39
# Permission: dupeplus.dupe
36
40
permission: false
37
41
42
+
38
43
# The message sent to the player when try to execute dupe or reloadconfig no permission (Only if the above is true) (Default: "%prefix% <dark_gray>|</dark_gray> <red>You are not allowed to use this command</red>")
44
+
# Leave blank for no message
39
45
permission-message: "%prefix% <dark_gray>|</dark_gray> <red>You are not allowed to use this command</red>"
40
46
41
-
#Leave blank for no message (Default: "%prefix% <dark_gray>|</dark_gray> <gray>Duped %dupe_item%</gray>")
blocked-message: "%prefix% <dark_gray>|</dark_gray> <red>The item is blocked from being duped!</red>"
64
-
# Add or remove items to block them from being duped, also do not include spaces, for an example (NO: "diamond block" YES: "diamond_block")
81
+
# Add or remove items to block them from being duped, also do not include spaces. (NO: "diamond block" YES: "diamond_block")
82
+
83
+
# Begin the item's id with minecraft: to check the item's type only, it will ignore if the item is part of a custom plugin. (Default: - minecraft:barrier)
84
+
# Begin the item's id with itemsadder: if you want to check if the item's itemsadder id, it will not check for the namespace.
65
85
items:
66
-
- barrier
86
+
- minecraft:barrier
67
87
68
88
# Settings for the cooldown of /dupe
69
89
cooldown:
70
90
# Make it false to disable the cooldown, make it true to enable it. (Default: false)
71
-
enable: false
72
-
# How many seconds for the cooldowns to be.
91
+
enabled: false
92
+
93
+
# How many seconds for the cooldowns to be. (Default: 3)
73
94
seconds: 3
95
+
74
96
# If the player tries to dupe while the cooldown is set. (Default: "%prefix% <dark_gray>|</dark_gray> <red>Please wait %duration%.</red>")
# Make it true if you want players with the permission to ignore the cooldown, make it false if you want everyone to have cooldown. (Default: false)
102
+
# Permission: dupeplus.cooldown
103
+
permission: true
104
+
78
105
79
106
# Settings for this (ignore if you don't want this) players can still run /dupe
80
107
# /dupe <times>
81
108
times:
82
109
# Make it false to disable this feature, make it true to enable this feature (Default: false)
83
110
enabled: false
84
111
85
-
#0 for no maximum amount of times the player can run (Default: 5) (Recommended: 5)
112
+
#Set it to 0 to disable the times (Default: 5) (Recommended: 5)
86
113
# Permission to let a player/group have no maximum regardless of this option: dupeplus.times.max.unlimited
87
-
max: 5
114
+
# dupeplus.times.max.<name>
115
+
max-values:
116
+
pro: 10
117
+
vip: 8
118
+
Default: 5# Default permission or players without the permission who are using the dupe times.
88
119
89
120
# If the player puts the value above the maximum then what's the message? (Default: "%prefix% <dark_gray>|</dark_gray> <red>This is higher than maximum! Do something lower than %max%</red>")
max-message: "%prefix% <dark_gray>|</dark_gray> <red>This is higher than maximum! Do something lower than %max%</red>"
92
124
93
125
# 0 for no minimum amount of times the player can run (Default: 0) (Recommended: 0)
94
126
# Permission to let a player/group have no minimum regardless of this option: dupeplus.times.min.unlimited
127
+
# It is recommended to just keep this at 0
95
128
min: 0
96
129
97
130
# If the player puts the value below the minimum (Default: "%prefix% <dark_gray>|</dark_gray> <red>This is lower than minimum! Do something higher than %min%</red>")
# The modes on how the plugin will add the lore. (Default: set)
151
+
# append: Checks if the dupe lore exists or not, if it doesn't exist then it adds after the last lore or just adds the lore if no lore is present.
152
+
# set: Checks if the dupe lore exists or not, if it doesn't exist then it will replace the existing lore with the dupe lore, otherwise it just ignores. (Recommended)
153
+
mode: set
154
+
155
+
# The Integrations that this plugin connects with.
156
+
integrations:
157
+
# Enables ItemsAdder Integration (Default: true)
158
+
itemsadder: true
159
+
105
160
# Checks for updates using the set API (Modrinth or SpigotMC),
106
161
updates:
107
162
# Checks on startup for updates, disable if you do not wish to update DupePlus.
@@ -128,13 +183,40 @@ updates:
128
183
console-notify-message: "%prefix% | Update DupePlus at %link%"
129
184
130
185
# Don't edit this
131
-
# Previous: 1.1
132
-
# config-version: 1.2
133
-
config-version: 1.2
186
+
# Previous: 1.2
187
+
# config-version: 1.3
188
+
config-version: 1.3
134
189
```
135
190
</details>
136
191
192
+
## Custom NBT
193
+
194
+
You can make items undupeable by adding a custom NBT data "dupenotallowed", set it to true and the item will be undupeable.
195
+
You have to enable the custom-nbt-item in the configuration to use this.
196
+
197
+
### 1.20.5 and above
198
+
In the new change, Minecraft changed NBTs into components, and they also changed how custom tag works, it has to be in the custom_data.
The command gives you a diamond sword with the undupeable tag in the Component format.
206
+
207
+
### 1.20.4 and below
208
+
Instead of using components, you have to use NBT which is JSON formatted, instead of including the custom tag into the custom_data, you don't have to put it anywhere.
The command gives you a diamond sword with the undupeable tag in the NBT format.
214
+
137
215
## Features
216
+
- Lore [Add Lore to a duplicated item, don't worry this won't affect the original item]
217
+
- Times Max Value (Times) [Give certain groups or players a specific maximum time to duplicate an item.]
218
+
- ItemsAdder Support (Blacklist) [Don't be limited to only blacklisting minecraft items, you can blacklist itemsadder items by their IDs, like itemsadder:op_weapon]
219
+
- Custom NBT [Another way of blocking item, it's easy, just add {"dupenotallowed": true} to the minecraft:custom_data for 1.20.5 and above, or as its own tag for 1.20.4 and below]
138
220
- Update Checker [Don't be living under a rock, new features that improve the Dupe System in your server]
139
221
- Blacklist [Block items from being duped]
140
222
- Times Support [Dupe the item several times.]
@@ -170,12 +252,7 @@ Server Software this plugin supports and recommend to use: Bold & ^
170
252
- Fabric#
171
253
- Forge#
172
254
173
-
## Upcoming 1.3.0
174
-
- Replace Minecraft Item Type to Minecraft Item Identifier, TRIDENT -> minecraft:trident
175
-
- %item_name% will show the item's display name
176
-
- Support Custom Items like Oraxen and ItemsAdder
177
-
- Support for Scripting Plugins like Denizen and Skript
178
-
- Support for NBT Tag 1.20.4 and below: {"dupenotallowed": true}, 1.20.5 and above: \[minecraft:custom_data={dupenotallowed:true}]
179
-
- Make a SpongeMC version fork for this plugin.
180
-
- Add a new configuration that adds lore to duplicated item.
0 commit comments