Sueta
◆

◆ Portable Furnace | Smelt items anywhere, anytime ◆

1.9

Create unique portable furnaces, very useful for survival servers :)

·Plugin

◆ PortableFurnace ◆

YouTube


Portable furnace, you can use anywhere and anytime by simply just using the /portablefurnace command, the furnace is still smelting when the inventory is closed, the permission to use the furnace is portablefurnace.use (configurable in the settings).


portablefurnace.use = Ability to use the furnace.
portablefurnace.open = Ability to open the furnace.

portablefurnace.menu = Ability to open and use the menu.
portablefurnace.menu.admin = Ability to open and use the other players menu.

portablefurnace.create = Ability to create a new furnace.
portablefurnace.furnace.%number% = Ability to create more furnaces, for example if the player have 3 furnaces he must have the portablefurnace.furnace.4 permission in order for him to create a new furnace.
portablefurnace.delete = Ability to delete your furnace.
portablefurnace.create.admin = Ability to create other players furnace.

portablefurnace.recipe.create = Ability to create a new recipe.
portablefurnace.recipe.save = Ability to save the recipe.

portablefurnace.delete.admin = Ability to delete other players furnace.
portablefurnace.reload = Ability to use the /portablefurnace reload command.



Config file
################################################
################################################
######## PORTABLE FURNACE CONFIGURATION ########
################################################
################################################

#Maximum number of furnaces you can create
max_furnaces: 50
#Cooldown time (in seconds)
cooldown: 20
#Auto data saver time (in minutes)
autosaver: 5
#Show the message in console when the plugin is done saving the data
autosaver_notify: true
#Enable or disable the use of messages that are send when furnace menu is open
notify_menu: true
#Enable or disable the use of messages that are send to the owner when furnace has no fuel or item is done smelting.
notify_owner: true
#Enable the use of bossbar (only +1.9 support)
bar: true
#Bar color, more colors can be found here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
bar_color: "PINK"
#Bar style, more style can be found here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
bar_style: "SEGMENTED_20"
#Effect radius, by default was set to 5
e_radius: 5
#Enable or disable the use of this effect
effect_smelting: true
#Effect name, more effect can be found here https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Effect.html
effect_smelting_name: "MOBSPAWNER_FLAMES"
effect_create_recipe: true
effect_create_recipe_name: "RECORD_PLAY"
effect_nofuel: true
effect_nofuel_name: "SMOKE"
effect_noperm: true
effect_noperm_name: "RECORD_PLAY"
effect_create: true
effect_create_name: "CLICK1"
effect_delete: true
effect_delete_name: "ENDER_SIGNAL"
#The permissions of the plugin, edit them as you wish
perm_open: "portablefurnace.open"
perm_use: "portablefurnace.use"
perm_use_admin: "portablefurnace.use.admin"
perm_menu: "portablefurnace.menu"
perm_menu_admin: "portablefurnace.menu.admin"
perm_create: "portablefurnace.create"
perm_recipe_create: "portablefurnace.recipe.create"
perm_recipe_save: "portablefurnace.recipe.save"
perm_furnace: "portablefurnace.furnace."
perm_reload: "portablefurnace.reload"
perm_create_admin: "portablefurnace.create.admin"
perm_delete: "portablefurnace.delete"
perm_delete_admin: "portablefurnace.delete.admin"
#The messages of the plugin, edit them as you wish, more placeholers can be found here
#if you have PlaceholderAPI installed https://www.spigotmc.org/wiki/placeholderapi-placeholders/
m_noperm: "&cYou must have permission."
m_title: "&8♦ &3&nPortableFurnace&r &8♦"
m_cooldown: "&8|&3&l✦ PortableFurnace ✦&r&8| &cYou must wait &e%COOLDOWN% &cbefore you can use this again."
m_recipe_inuse: "&8|&3&l✦ PortableFurnace ✦&r&8| &cThere's another player already creating a new recipe."
m_recipe_noresult: "&8|&3&l✦ PortableFurnace ✦&r&8| &cThere's no result item found in the recipe."
m_recipe_nosmelting: "&8|&3&l✦ PortableFurnace ✦&r&8| &cThere's no smelting item found in the recipe."
m_recipe_sameitems: "&8|&3&l✦ PortableFurnace ✦&r&8| &cThe result and smelting item can't be the same."
m_recipe_exists: "&8|&3&l✦ PortableFurnace ✦&r&8| &cThere's already a recipe using this smelting item."
m_recipe_close: "&c✘ Recipe menu have been closed, you didn't save the recipe. ✘ &r"
m_recipe_save: "&8|&3&l✦ PortableFurnace ✦&r&8| &2New recipe with ID &5#%R_ID% &2have been created and saved."
m_gui_close: "&c✘ Menu have been closed, furnaces have been saved. ✘ &r"
m_playernotfound: "&cPlayer &d%TARGET% &chas not been found"
m_owneroffline: "&8|&3&l✦ PortableFurnace ✦&r&8| &cOwner %OWNER% must be online if you wish to create a new furnace."
m_reload: "&8|&3&l✦ PortableFurnace ✦&r&8| &aPlugin have been reloaded."
m_furnace_nofuel: "&8|&3&l✦ PortableFurnace ✦&r&8| &cFurnace with ID &5#%ID% &cleft with no fuel while it was smelting."
m_furnace_nofuel_m: "&8|&3&l✦ PortableFurnace ✦&r&8| &cYour furnace with ID &5#%ID% &cleft with no fuel while it was smelting."
m_furnace_smelting: "&bFurnace with ID &5#%ID% &bis smelting &e1 &d%SMELTING% &busing &5%FUEL%, &c%PROGRESS%% &bdone, &6%BURNTIME% left of fuel."
m_furnace_burning: "&bFurnace with ID &5#%ID% &bis currently burning, &c%BURNTIME% left."
m_furnace_waiting: "&2Furnace with ID &5#%ID% &2is currently waiting for ingredients.."
m_furnace_preview: "&6You're currently viewing &c%OWNER%'s &6furnace with ID &5#%ID%&6, while he is offline or does not have permission."
m_furnace_smelting_done: "&a&lDONE! &b%RESULT_A% &d%RESULT% &bhave been added in the furnace inventory."
m_furnace_smelting_done_m: "&8|&3&l✦ PortableFurnace ✦&r&8| &6Your furnace with ID &5#%ID% &6have finished smelting &c1 &d%SMELTING%, &b%RESULT_A% &e%RESULT% &6have been added in the furnace inventory"
m_furnace_extract: "&a&l+ %XP% XP"
m_furnace_notempty: "&8|&3&l✦ PortableFurnace ✦&r&8| &cFurnace with ID &5#%ID% &cmust be empty before you can delete it."
m_furnace_max: "&8|&3&l✦ PortableFurnace ✦&r&8| &cPlayer &r%TARGET% &ccan't have more than &d%MAX% &cfurnaces created."
m_furnace_noperm: "&8|&3&l✦ PortableFurnace ✦&r&8| &cPlayer &r%TARGET% &cmust have permission to create more than %SIZE% furnaces. (%PERM%)"
m_furnace_create: "&8|&3&l✦ PortableFurnace ✦&r&8| &aFurnace with ID &3#%ID% &ahave been created"
m_furnace_create_admin: "&8|&3&l✦ PortableFurnace ✦&r&8| &aNew furnace with ID &3#%ID% &ahave been created by &r%ADMIN%"
m_furnace_delete: "&8|&3&l✦ PortableFurnace ✦&r&8| &cFurnace with ID &5#%ID% &chave been deleted"
m_furnace_delete_admin: "&8|&3&l✦ PortableFurnace ✦&r&8| &cYour furnace with ID &5#%ID% &chave been deleted by &r%ADMIN%"
  • You have the ability to edit the recipes cooktime, experience or even the result item.



  • You have the ability to change the menus as you with the config files can be found in the folder called "menus"
Main menu file
#############################################
#######  MAIN MENU CONFIGURATION FILE  ######
#############################################

# Size of menu (the max size 54 slots)
menu_size: 54
# Menu update interval (in seconds), you must reload the server in order for this setting to take place.
menu_interval: 10
# Main menu title (max 32 characters)
menu_name: '&0&l%TARGET%''s list of furnaces'
# The furnace names
menu_furnace_names:
- "&8♦ &5&nFurnace ID %ID%&r &8♦"
- "&8♦ &d&nFurnace ID %ID%&r &8♦"
# The furnace lores
menu_furnace_lores:
  '0':
   - "&8&l➢ &bProgress: &d%PROGRESS%%"
   - "&8&l➢ &bBurning: &r%BURNING%"
   - "&8&l➢ &bProgress total: &d%PROGRESSTOTAL%%"
   - "&8&l➢ &bCurrent fuel: &r%FUEL%"
   - "&8&l➢ &bCurrent smelting: &r%SMELTING%"
   - "&8&l➢ &bBurning time left: &c%BURNTIME%"
   - "&8&l➢ &bSmelting time left: &e%COOKTIME%"
   - "&8&l➢ &bSmelting time total: &e%COOKTIMETOTAL%"
   - "&e"
   - "&7- Left-Click to open the furnace"
   - "&7- Right-Click to delete the furnace"
   - "&8-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
  '1':
   - "&7&l➢ &bProgress: &d%PROGRESS%%"
   - "&7&l➢ &bBurning: &r%BURNING%"
   - "&7&l➢ &bProgress total: &d%PROGRESSTOTAL%%"
   - "&7&l➢ &bCurrent fuel: &r%FUEL%"
   - "&7&l➢ &bCurrent smelting: &r%SMELTING%"
   - "&7&l➢ &bBurning time left: &c%BURNTIME%"
   - "&7&l➢ &bSmelting time left: &e%COOKTIME%"
   - "&7&l➢ &bSmelting time total: &e%COOKTIMETOTAL%"
   - "&e"
   - "&8- Left-Click to open the furnace"
   - "&8- Right-Click to delete the furnace"
   - "&7-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
# The menu content
menu_contents:
  # THE OWNER HEAD
  '-1':
    slot: 4
    types:
    - PLAYER_HEAD
    names:
    - '&8♦ &5&n%NAME%&r &8♦'
    owners:
    - '%USER%'
    lores:
      '0':
        - "&8&l➢ &bMax furnaces: &c%MAX%"
        - "&8&l➢ &bCreated furnaces: &d%FURNACES%"
        - "&8-=-=-=-=-=-=-=-=-=-=-=-=-"
      '1':
        - "&7&l➢ &3Max furnaces: &c%MAX%"
        - "&7&l➢ &3Created furnaces: &d%FURNACES%"
        - "&8-=-=-=-=-=-=-=-=-=-=-=-=-"
  # THE ARROWS
  '0':
    slot: 50
    types:
    - PLAYER_HEAD
    click: next_page
    names:
    - '&d&kii&r &d&l&nNext Page&d&l -> (%NEXT_PAGE%)'
    - '&5&kii&r &5&l&nNext Page&5&l -> (%NEXT_PAGE%)'
    owners:
    - MHF_ArrowRight
    d_types:
    - IRON_BARS
    d_names:
    - '&a'
  '1':
    slot: 48
    types:
    - PLAYER_HEAD
    click: prev_page
    names:
    - '&5&l(%LAST_PAGE%) <- &nPrev Page &5&kii'
    - '&d&l(%LAST_PAGE%) <- &nPrev Page&d &kii'
    owners:
    - MHF_ArrowLeft
    d_types:
    - IRON_BARS
    d_names:
    - '&a'
  # CLOSE THE INVENTORY
  '2':
    slot: 49
    types:
    - REDSTONE
    - REDSTONE_BLOCK
    click: menu_close
    amount:
    - 1
    - 2
    - 3
    - 4
    names:
    - '&c&l&n☓ CLOSE ☓&r'
    - '&4&l&n☓ CLOSE ☓&r'
  # RELOAD THE PLUGIN
  '3':
    slot: 46
    types:
    - PAPER
    click: reload
    names:
    - '&d&kii&r &d&l&nReload the plugin&r &d&kii&r'
    - '&5&kii&r &5&l&nReload the plugin&r &5&kii&r'
  # CREATE A NEW FURNACE
  '4':
    slot: 52
    types:
    - EMERALD
    click: furnace_create
    names:
    - '&2&kii&r &2&l&nCreate a new furnace&r &2&kii&r'
    - '&a&kii&r &a&l&nCreate a new furnace&r &a&kii&r'
  # OPEN THE RECIPE CREATOR MENU
  '5':
    slot: 8
    types:
    - BOOK
    click: menu_recipe
    names:
    - '&3&kii&r &3&l&nCreate a new recipe&r &3&kii&r'
    - '&b&kii&r &b&l&nCreate a new recipe&r &b&kii&r'
  # THE CORNERS
  '6':
    slot: 0
    types:
    - BLACK_STAINED_GLASS_PANE
    - RED_STAINED_GLASS_PANE
    - YELLOW_STAINED_GLASS_PANE
    - BLUE_STAINED_GLASS_PANE
    - WHITE_STAINED_GLASS_PANE
    names:
    - '&a'
  '7':
    slot: 45
    types:
    - BLACK_STAINED_GLASS_PANE
    - RED_STAINED_GLASS_PANE
    - YELLOW_STAINED_GLASS_PANE
    - BLUE_STAINED_GLASS_PANE
    - WHITE_STAINED_GLASS_PANE
    names:
    - '&a'
  '8':
    slot: 53
    types:
    - BLACK_STAINED_GLASS_PANE
    - RED_STAINED_GLASS_PANE
    - YELLOW_STAINED_GLASS_PANE
    - BLUE_STAINED_GLASS_PANE
    - WHITE_STAINED_GLASS_PANE
    names:
    - '&a'
  # THE BACKGROUND
  '9':
    slot: 1
    types:
    - IRON_BARS
    names:
    - '&a'
  '10':
    slot: 2
    types:
    - IRON_BARS
    names:
    - '&a'
  '11':
    slot: 3
    types:
    - IRON_BARS
    names:
    - '&a'
  '12':
    slot: 5
    types:
    - IRON_BARS
    names:
    - '&a'
  '13':
    slot: 6
    types:
    - IRON_BARS
    names:
    - '&a'
  '14':
    slot: 7
    types:
    - IRON_BARS
    names:
    - '&a'
  '15':
    slot: 9
    types:
    - IRON_BARS
    names:
    - '&a'
  '16':
    slot: 17
    types:
    - IRON_BARS
    names:
    - '&a'
  '17':
    slot: 18
    types:
    - IRON_BARS
    names:
    - '&a'
  '18':
    slot: 26
    types:
    - IRON_BARS
    names:
    - '&a'
  '19':
    slot: 27
    types:
    - IRON_BARS
    names:
    - '&a'
  '20':
    slot: 35
    types:
    - IRON_BARS
    names:
    - '&a'
  '21':
    slot: 36
    types:
    - IRON_BARS
    names:
    - '&a'
  '22':
    slot: 44
    types:
    - IRON_BARS
    names:
    - '&a'
  '24':
    slot: 47
    types:
    - IRON_BARS
    names:
    - '&a'
  '25':
    slot: 51
    types:
    - IRON_BARS
    names:
    - '&a'

Similar projects

Plugin →