[1.7 - 1.12] Printer Mode | Perfect For Faction Servers

 [1.7 - 1.12] Printer Mode | Perfect For Faction Servers 2.0.7

[1.7 - 1.12] Printer Mode | Perfect For Faction Servers
Description
Printer Mode is a plugin that will charge money for every block you place. You don't have to buy blocks from the shop anymore. This feature is especially useful for servers that allow the printer feature of schematica. With schematica's printer enabled and /printer on you can now print the schematic without having to worry about running out of resources.

Features
  • Everything configurable
  • Able to integrate ShopGUIPlus for prices of a block
  • Lifetime support
  • Multiple methods
  • Message with the cost of a session (Configurable in config.yml)
  • Dependent on vault
Commands
Player Commands (printer.use):
  • /printer - help message
  • /printer on/off - enable/disable printer mode
Admin Commands (printer.admin):
  • /printer addshop <shopid> - add a shop from ShopGUIPlus to fetch the prices
  • /printer listshops - list all linked shops
  • /printer removeshop <shopid> - remove a shop from the linked shops

Example:
Standard method:


Alternative method:
Pre setup messages
5NWlGZw.png


Multiple Pages
A0Dkeqm.png


Config Files
Code:
# Config edited by GwnDaan on 14/4/2018

# Different methods:
# "standard": Normal pages in the player's inventory.
# "alternative": Basic printer; no inventory swap, just get your items from /shop and print.
method: standard
# "Messenger" will send a message with the amount of money spend to the player when he disables Printer Mode, or after an amount of time.
messenger:
enabled:
# "on_disable" sends a message with the amount of money spend when you toggle off printer.
on_disable: true
# "on_noprint_time" send a message with the amount of money spent when you have not printed any blocks for %no_print_time% seconds;
on_noprint_time: true
# time in seconds.
no_print_time: 5
# "no_help_message" will prevent players with the permission "printer.use" to get the help message and will toggle the mode instantly instead.
no_help_message: false
# "f_printer_alias" if it's enabled the plugin will redirect /f printer to the /printer command.
f_printer_alias: true
# "command_blocker" will block listed command when using the 'standard' method.
commands:
# "mode" change between 'blacklist' and 'whitelist' for the comamnds below.
mode: "blacklist"
# "command_list" is the list of commands for both blacklisted or whitelisted as stated in the "mode" above.
command_list:
- "sell"
- "block"
#Configurable items:
items:
# "next_page" is the identifier of the item. This may not be changed.
next_page:
# "id" is the item type, for example: "322/1" will give a enchanted golden apple.
id: 339
# "name" is the custom name of the item.
name: "&a&lNext Page"
# "lore" is the text under the item.
lore:
- "&3Left-click &7to open the next page."
previous_page:
id: 339
name: "&c&lPrevious Page"
lore:
- "&3Left-click &7to open the previous page."
# "blocked_items" are the items which cannot be placed with PrinterMode enabled.
blocked_items:
- hopper/this is the name
- hopper
- 1/this is the name
# You don't have to change this
config_version: 1

Code:
items:
# '1' is the slot the item is placed when printer is enabled.
1:
# 'id' is the id of the item to be added in the inventory.
id: 81
# 'cost' this is the amount that will be charged for placing 1 block
# If you have ShopGUIPlus enabled and you have added the shop id (where this block can be found) to this plugin with
# /printer addshop <shopid>, then it will charge the cost of the block found in the shop.
cost: 10
2:
id: 338
cost: 10
3:
id: 287
cost: 10
4:
id: 12/0
cost: 10
5:
id: 79
cost: 10
6:
id: 174
cost: 10
7:
id: 3
cost: 10
8:
id: 4
cost: 10
9:
id: 49
cost: 10
10:
id: 44/3
cost: 10
11:
id: 44/0
cost: 10
12:
id: 96
cost: 10
13:
id: 87
cost: 10
14:
id: 20
cost: 10
15:
id: 1
cost: 10
16:
id: 54
cost: 10
Code:
no_permission: '&4You don''t have the permission to do that!'
not_valid: "&7» &cNo item found."
inventory_restored: "&7» &aYour inventory has been restored."
not_enough_money: "&7» &cYour balance is too low to buy that."
cannot_do_that: "&7» &cYou are not allowed to use that with printer mode enabled."
no_gamemode: '&cYou can only enable printer mode in survival!'
help:
title: '&c&lPrinter Mode'
description: '&7PrinterMode allows you to place blocks without having to buy it
from the shop (this will automaticly charge per block placed)'
command:
'on': "&7» &b/printer on &7- &aenable &7printer mode."
'off': "&7» &b/printer off &7- &cdisable &7printer mode."
admin:
addshop: "&7» &b/printer addshop <shopid> &7- &aadd &7a shop to the list."
listshops: "&7» &b/printer listshops &7- list all shops."
removeshop: "&7» &b/printer removeshop <shopid> &7- &cremove&7 a shop to the list."
mode:
already_enabled: "&7» &cPrinter Mode &7is already &aenabled&7."
already_disabled: "&7» &cPrinter Mode &7is already &cdisabled&7."
toggle:
'on': "&7» &cPrinter Mode &7has successfully been &aenabled&7."
'off': "&7» &cPrinter Mode &7has successfully been &cdisabled&7."
force:
damage_by_entity: '&cPrinter Mode has been disabled, because an entity damaged
you.'
messager:
on_noprint_time: "&7» &cPrinter Mode &7has charged you a total of <amount> for this session."
on_disable: "&7» &cPrinter Mode &7has charged you a total of <amount> for the time it was enabled."

Similar resources

[1.7 - 1.12] Printer Mode | Perfect For Faction Servers G
4.75 star(s) 4 ratings
Downloads
595
Updated
PurgePrinter - blocks cost per placement, enable with /printer NiñoRataPistolita
5.00 star(s) 1 ratings
Downloads
110
Updated
BlackSpigot General Chat
Rules Help Users
    M @ Miran: does having nulledbuilds premium get me anything here?
    Top