Sueta

Scrolls + Add custom commands to papers!

1.2

Ever wanted to add commands to a paper? Maybe give money to player

·Plugin

icon2.png


About:

This plugin allows you to add custom commands to papers so when players rightclicks the custom paper the server will execute some commands! Perfect for donnation stores as "Random gifts" for your players since you cant se the commands that will be executed.

INFORMATION

Commands

/ss create <Name> <ItemName> <Uses>- Creates a new scroll
/ss delete <name> - Delets a refferd scroll
/ss <name> cmd add <Cmd With Spaces> - adds a cmd to a scroll
/ss <name> cmd del <ID> - Removes a cmd from a scroll
/ss info <name> - Shows all cmds a scroll have
/ss give <scroll> <player> - Gives a scroll to a player
/ss reload - Reloads the scroll plugin
/ss list - Shows all current scrolls

You need the permission Scrolls.Admin for all CMDS

Permissions

Scrolls.Admin - Need if you want to use CMDS
Scrolls.Use - Need to be able to use scrolls

Configs
Language.yml

#####################################################################
################-FORMAT-#############################################
#####################################################################
# %SCROLLNAME ( WILL BE REPLCED WITH THE NAME OF THE SCROLLNAME #
# %CMD ( WILL BE REPLACED WITH THE COMMAND THE SCROLL WILL EXECUTE) #
# %PRE (WILL BE REPLACED WITH THE Prefix) #
# %SENDER ( WILL BE REPLACED WITH THE PLAYER NAME) #
# & for colors #
#####################################################################

#Plugin prefix & for color codes!
Prefix: "&4&l<!> &2&lScrolls &4&l<!> &l&f "

#What to say when you use a scroll use:
# &
# %Pre
# %SENDER
# %SCROLLNAME
Use-Scroll: "%PRE You have used %SCROLLNAME"

#What to say when player creates/removes a scroll
# &
# %Pre
# %SENDER
# %SCROLLNAME
# %ITEMNAME
Create-Scroll: "%PRE You have created a new Scroll%SCROLLNAME \n Name: ITEMNAME"
Delete-Scroll: "%PRE You have removed the Scroll called %SCROLLNAME"

#What to say when player adds/delets a command to a scroll:
# &
# %Pre
# %SENDER
# %SCROLLNAME
# %CMD
Add-CMD: "%PRE You have added the %CMD to %SCROLLNAME"
Del-CMD: "%PRE You have added the %CMD to %SCROLLNAME"

#What to say when player recives/sends a scroll:
# %CMDS will display all the cmds of the scroll!
# & for colors
Scroll-Recived: "%PRE You have recived the scroll %SCROLLNAME from %SENDER"
Scroll-Sent: "%PRE You have sent the scroll %SCROLLNAME to %PLAYER"

Scrolls.yml

Scrolls:
TeleportingScroll:
Commands:
- 'teleport %PLAYER 33 33 33'
ItemName: "§2§lTeleport Scroll"
MoneyScroll:
Commands:
- 'eco give %ALL_PLAYERS 3334'
- 'broadcast %PLAYER gave everyone 3334$!'
ItemName: "§2§lFREE MONEY"

Images

/ss List
Shows all Scrolls



/ss Info <Scroll>
Shows all commands

REQUEST:
Please dont put buggs/errors when rating put your rating and why then send me errors etc!

PROGRESS:
100% Language configuration - Working on

FAQ

FAQ

- How do i make a scroll last forever?
Set uses to -1!

- Does this work on all versions?
Should work if it doesnt please request your version!

Feeling nice ? Why dont you donate to keep me going! :)

Similar projects

Plugin →