From there you can assign some sort of identifier to each command block like location? or int...
String modified = s.replaceAll("\"", "a");
@henderry2019 if you read the link I sent it tells u about permissions and using children to make parent permissions.
@henderry2019 In your plugin.yml you would list all the permission nodes. You would then add the permission check code in front of any "feature"...
@lubbs31 you should never return false if you handled any type of action. If you output an error message true. If the code worked correctly true.
@teej107 Sure thing. Either of the ways works. Just offering multiple solutions :)
@teej107 You could always do a for loop that uses the length of args.
@RustyDesigns you would use the map get function. Here is where you will specify which key(UUID) you want it to gather. This will return the...
@lubbs31 You can also do.String full = arg1 + arg2 + arg3 + arg4
@SantaClawz69 just search the Internet about null checking. For example checking that the player has an item in hand before checking if the...
@SantaClawz69 Make sure you set the item's item-meta.
ItemStack sword = new ItemStack(Material.STONE_SWORD, 1);
@SantaClawz69 You need to do more checks, especially null ones. The player likely doesn't have a chest late on, so there isn't one to compare.
@Eggspurt Try using 20L rather than just 20.
@SantaClawz69 Make sure you are accessing the argument like this.args This will give you the 1st argument. Trying args Means it is trying...
@SantaClawz69 what is line 96. Your code has changed since you posted it.
@Laserflip @bwfcwalshy told you. The goal of these forums isn't just to spoon feed you code. He explained the concept to you, now it is your job...
@ark9026 I believe this will help.
@SantaClawz69 The lore is likely null. try creating a new one. Most objects don't have a lore by default.
@SantaClawz69 lore has likely not been initialized yet. make sure you do
List<String> lore = new ArrayList<String>();
Separate names with a comma.