Ragnaros
Forums Assistant
Status
offline
Posts
219
Likes
3,845
Credits
99
LEVEL
10
2,175 XP
MFurniture v1.1.1 Install instructions
Step 1 place the Jar file in your plugins folder
Step 2 Ensure you have the following dependency's installed
1 World Edit
2 World Guard
3 Placeholder API
4 ItemsAdder
5 Vault
6 Economy Plugin of your choice but must be able to hook into Vault
Step 3
Extract the ItemsAdder part of the resourcepack to your ItemsAdder
Step 4 Copy the MFurniture Update files to the MFurniture directory in your plugins folder
Step 5 Run /MFurniture Reload
Step 6 Run /iazip
Step 7 goto the following location Plugins\ItemsAdder\Storage\ Open the following file font_images_unicode_cache.yml find the following line of code
copy the symbol on its own
Step 8 goto the MFurniture Folder then to the Lang Folder edit the language of your choice and paste the copied code at this location
deleting the Unicode HERE and replace with the copied symbol
Step 9 to make sure the buttons work properly in the GUI of the furniture then do the following find the following lines of code in the same file as the above step
Making sure to replace the material PAPER to GLASS_PANE else you won't be able to see the Check Mark & Cancel Buttons else all you will see is a paper texture
this is due a limitation of the plugin gui code which is yet to be fixed but this is a workaround and works nicely
Once this all above is completed your on to the final steps of getting it up and running
Final Steps
Using WorldGuard Define a Region furnitureShop unless you change the furniture region name in the config.yml making sure you select a low and high point to define the region
once this is done you can start adding furniture to the plugin
To Add Furniture run the following command /iaget noting the name examplefurniture:examplefurniture whilst you don't have to include the bit before the : i highly recommend it due
to a lot of furniture packs containing the same furniture name for example carpet.
Go to the Furniture Folder inside of MFurniture and depending on the particular furniture if it uses ITEM_FRAME or ARMOR_STAND edit the respective files
I.E
in the above example you see chair: this is where id add furniturepack:chair so it can be distinguished by other chair's then set the furniture name to what you want it to display as and set the price
once this is done then /mfurniture reload place the furniture and if you've followed the guide correctly you will see a box when you hover over the furniture displaying it's name and price
right click on it and you should be able to purchase the furniture
Any Issues don't Hesitate to reach out
Ragnaros
Step 1 place the Jar file in your plugins folder
Step 2 Ensure you have the following dependency's installed
1 World Edit
2 World Guard
3 Placeholder API
4 ItemsAdder
5 Vault
6 Economy Plugin of your choice but must be able to hook into Vault
Step 3
Extract the ItemsAdder part of the resourcepack to your ItemsAdder
Step 4 Copy the MFurniture Update files to the MFurniture directory in your plugins folder
Step 5 Run /MFurniture Reload
Step 6 Run /iazip
Step 7 goto the following location Plugins\ItemsAdder\Storage\ Open the following file font_images_unicode_cache.yml find the following line of code
Code:
mfurniture:3_line_tooltip_center:
Step 8 goto the MFurniture Folder then to the Lang Folder edit the language of your choice and paste the copied code at this location
Code:
background-middle: "Unicode HERE" # ONLY WORK UNICODE CHARACTERS
Step 9 to make sure the buttons work properly in the GUI of the furniture then do the following find the following lines of code in the same file as the above step
Code:
# BUY GUI
buyGui:
# b -> Buy item
# f -> Furniture item
# c -> Cancel item
interface:
- " b f c "
guiName: "&f%img_offset_-8%%img_mfurniture_buy%"
buyItem:
name: "&aBuy"
lore:
- "&fPrice: &e{price} Gold"
material: PAPER
customModelData: 1
cancelItem:
name: "&cCancel"
material: PAPER
customModelData: 1
Making sure to replace the material PAPER to GLASS_PANE else you won't be able to see the Check Mark & Cancel Buttons else all you will see is a paper texture
this is due a limitation of the plugin gui code which is yet to be fixed but this is a workaround and works nicely
Once this all above is completed your on to the final steps of getting it up and running
Final Steps
Using WorldGuard Define a Region furnitureShop unless you change the furniture region name in the config.yml making sure you select a low and high point to define the region
once this is done you can start adding furniture to the plugin
To Add Furniture run the following command /iaget noting the name examplefurniture:examplefurniture whilst you don't have to include the bit before the : i highly recommend it due
to a lot of furniture packs containing the same furniture name for example carpet.
Go to the Furniture Folder inside of MFurniture and depending on the particular furniture if it uses ITEM_FRAME or ARMOR_STAND edit the respective files
I.E
Code:
furniture:
chair:
furniture-name: chair
price: 72
in the above example you see chair: this is where id add furniturepack:chair so it can be distinguished by other chair's then set the furniture name to what you want it to display as and set the price
once this is done then /mfurniture reload place the furniture and if you've followed the guide correctly you will see a box when you hover over the furniture displaying it's name and price
right click on it and you should be able to purchase the furniture
Any Issues don't Hesitate to reach out
Ragnaros