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
Example:
Config Files
Proof Of Ownership
Contact
I'm asking 5$ for this plugin. If you want to buy the plugin, go to this resource.
If you have any questions or want to test it on our test server, join our discord server.
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
Player Commands (permission: printer.use):
- /printer - help message
- /printer on/off - enable/disable printer mode
- /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:
Alternative method:
Pre setup messages
Multiple Pages
Multiple Pages
Config Files
Code:
# Config edited by GwnDaan on 12/10/2019
# Different methods: (You will obviously be charged in both modes)
# "standard": Advanced printer; pages in the player's inventory with unlimited items in it.
# "alternative": Basic printer; no inventory swap, just get your items from /shop and print while not running out of resources.
method: alternative
# "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
# "ignore_shops_yml" change between 'blacklist' and 'whitelist' for the shops ids in the shops.yml configuration file.
shops_yml_mode: "whitelist"
# 'infinite_items_in_hotbar' makes the items always infinite like the alternative method had been doing before.
infinite_items_in_hotbar: false
# 'temporary_permissions' is a list of permissions which are granted to the player when enabled printermode and revoked when disabled.
temporary_permissions:
- "anticheat.blockplacement.bypass"
# "commands" this is general things of what you can change about commands used when PrinterMode is enabled.
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"
- "hat"
# If you have the standard method enabled, then it's highly recommended to block the command "pv" to prevent clearing the pv of someone who tries to open it.
- "pv"
#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
# "blocked-sign-keywords" The player will get prevented to use the signs with one of the keywords while in printer
blocked-sign-keywords:
- "sell"
- "buy"
# You don't have to change this
config_version: 7
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."
Proof Of Ownership
Contact
I'm asking 5$ for this plugin. If you want to buy the plugin, go to this resource.
If you have any questions or want to test it on our test server, join our discord server.
Terms of Service ("TOS")
Last updated: 2018-04-12
By buying this plugin you agree to the following rules:
Contact Information
Discord: GwnDaan#2267
Discord Server: https://discord.gg/YVeECZR
Last updated: 2018-04-12
By buying this plugin you agree to the following rules:
- No refunds.
- You may not redistribute the plugin or any part of it.
- You may only modify the plugin if you have bought the source code.
- You are not allowed to chargeback.
Contact Information
Discord: GwnDaan#2267
Discord Server: https://discord.gg/YVeECZR
Last edited:
