Smithing Table Fix

Smithing Table Fix

Plugin

Allows Bedrock (Geyser) and 1.20+ players to use smithing tables on 1.16.1-1.19.4 servers.

Server Game Mechanics

434 downloads
5 followers
Created10 months ago
Updated10 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Adds a simple /smithing command.

When a player is holding an item which can be upgraded in the smithing table and is looking at a smithing table and is within 5 blocks (by default) of that smithing table, the command will consume 1 Netherite Ingot (that has no custom data) from the player's inventory and upgrade their diamond item to Netherite.

Built this specifically so that Geyser/Bedrock or other 1.20+ players playing on a Java 1.19.4 or below server can still make use of the smithing table.

Can also be used on a 1.20 server to negate the need for Netherite Upgrades.

Permissions:

permissions:
  smithing.use:
    description: Allows players to use the /smithing command.
    default: true
  smithing.anywhere:
    description: Allows players to use the /smithing command without looking at a smithing table.
    default: op
  smithing.free:
    description: Allows players to use the /smithing command without needing or consuming a Netherite Ingot.
    default: false

Configurable Options (and default values)

# The max distance a player can be from the smithing table they're looking at when using /smithing
maxDistance: 5
# Whether the smithing table sound should be played when a player successfully uses /smithing
playSound: true
# Whether a message should be sent to the player when they use /smithing successfully
sendSuccessMessages: true
# Whether a message should be sent to the user when /smithing is used unsuccessfully
sendFailureMessages: true
# Whether a player in Creative Mode is required to have and use a Netherite Ingot (in-dependant of the smithing.free permission)
creativeSmithsFree: true

# Message strings, use '§' to add formatting. https://minecraft.fandom.com/wiki/Formatting_codes
logger.notPlayer: "Only players may use this command."
message.noPermission: "§cYou don't have permission to use this command.§r"
message.noTable: "§cYou must be looking at a smithing table to use this command.§r"
message.noIngot: "§cYou must have at least 1 Netherite Ingot.§r"
message.invalidItem: "§cYou cannot upgrade this item. Please hold the item you wish to upgrade in your main hand.§r"
message.success: "§aYou've successfully upgraded your item.§r"

Limitations:

Only works with the vanilla recipes, as they are (for now) hard-coded into the plugin

Does not check if the player running the command has access to and the ability to use the Smithing Table they are looking at, only that it is in their line of sight, and nearby.

As a disclaimer I should state, I do not have a way of testing geyser connections myself.


Looking to play with your friends? Try bisecthosting.com/Overgrown and use code overgrown

You get a premium server at a discounted price, we get a kickback that allows us to continue updating and making new content.  !


Project members

coolbot100s

Owner


Technical information

License
ARR
Project ID