[1.8 - 1.16] Printer Mode | Perfect For Servers Allowing Schematica

Status
This thread has been locked.

Spijkerpoepen

Supreme
Feedback score
9
Posts
0
Reactions
22
Resources
0
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 & Permissions
Player Commands (permission: printer.use):
  • /printer - help message
  • /printer on/off - enable/disable printer mode
Admin Commands (permission: 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 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
Z9oNRoK.png

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:
  • 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:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

StrafeZ

Clothing Manufacturer
Supreme
Feedback score
39
Posts
1,898
Reactions
506
Resources
0
Note: I'm selling this plugin for a friend of mine.

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 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 pages
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:

Pre setup messages
5NWlGZw.png


Multiple Pages
A0Dkeqm.png

Config Files
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 tis 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'
  discription: '&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."

Proof Of Ownership
Z9oNRoK.png

Contact
I'm asking 5$ 4.25$ for this plugin and 25$ 21.25$ for the src.
I'm also giving away 2 vouch copies. (2 left)
If you are interested in buying this plugin or just want to ask me a question, add me on discord: GwnDaan#2267
Terms of Service ("TOS")

Last updated: 2018-03-18

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 the bought the src

Contact Information
Discord: GwnDaan#2267

Can I take the VC please
 

Hustle

Premium
Feedback score
4
Posts
174
Reactions
129
Resources
0
Vouch.

Received a vouch copy and the plugin functions as shown in the video.

However, a feature I would recommend is displaying the charge of a block when you place it and allow users to have the ability to toggle on and off the messages.
 
Last edited:

Ayns

Feedback score
0
Posts
9
Reactions
6
Resources
0
Vouch. The plugin is very good and it works!
 

StrafeZ

Clothing Manufacturer
Supreme
Feedback score
39
Posts
1,898
Reactions
506
Resources
0
Vouch, plugin worked great just as explain
 

Spijkerpoepen

Supreme
Feedback score
9
Posts
0
Reactions
22
Resources
0
However, a feature I would recommend is displaying the charge of a block when you place it and allow users to have the ability to toggle on and off the messages.

We have implemented this in the new version of the plugin.
 

Score

Supreme
Feedback score
11
Posts
37
Reactions
73
Resources
0
Looks great.

Although it might cause an issue for faction servers, patching walls while being raided with this enabled could cause problems for people raiding. but if you have it hooked in with factions causing the mode to be disabled while enemies are within a certain radius ignore this last part.
 

Spijkerpoepen

Supreme
Feedback score
9
Posts
0
Reactions
22
Resources
0
Looks great.

Although it might cause an issue for faction servers, patching walls while being raided with this enabled could cause problems for people raiding. but if you have it hooked in with factions causing the mode to be disabled while enemies are within a certain radius ignore this last part.

On most faction servers fly is disabled when an enemy is near. Printer Mode might make it easier to obtain the items, but without Printer Mode people could still buy the items from the shop. The plugin does not replace schematica's printer. If you want Printer Mode to be hooked in certain plugins, feel free to contact me through discord, GwnDaan#2267.
 

iHax0r

Premium
Feedback score
1
Posts
3
Reactions
2
Resources
0
Vouch! The plugin works good also the developer is responsing fast.
 

Kieraaaan

Plugin Developer
Premium
Feedback score
7
Posts
463
Reactions
222
Resources
0
Suggestion:
Maybe you should make it so that every (configurable) x amount of seconds, you get a message like this:
----- PRINTER STATS -----
Blocks Placed: (blocks)
Money Used: (money used)
etc. etc.
----- PRINTER STATS -----

And maybe hook into the Essentials items.csv file to determine prices (allow for the user to disable, enable).
 
Last edited:

Spijkerpoepen

Supreme
Feedback score
9
Posts
0
Reactions
22
Resources
0
Suggestion:
Maybe you should make it so that every (configurable) x amount of seconds, you get a message like this:
----- PRINTER STATS -----
Blocks Placed: (blocks)
Money Used: (money used)
etc. etc.
----- PRINTER STATS -----

And maybe hook into the Essentials items.csv file to determine prices (allow for the user to disable, enable).

We already have a summary, which prints out the used money in chat when you're idling for more than 5 seconds (by default). The essentials hook is a great suggestion and we are working on it as we speak.
 

BrooklynNetss

Entrepreneur
Premium
Feedback score
12
Posts
52
Reactions
13
Resources
0
Looks like a nice plugin.
 
Status
This thread has been locked.
Top