ScriptingPlus+
~ Script a personalized experience for your players with this simple plugin
This plugin is currently in development
Overview
I am currently not sure where this plugin is headed. If you have any ideas for the applications of the current feature set, please leave a comment.
e.g.
- Signs
- Scoreboard
- Chat
- Holograms
Currently added features
Fully functional scripting
Add your own placeholders
Execute scripts with commands
Script scheduling (survives restarts)
Variable saving and management (survives restarts)
50+ standard variables
100+ funcational variables (functional means it will accept inputs)
Includes additional placeholders for (Factions, Economy, Chat, Enjin, Essentials)
Keywords (the framework for having scripts do things)
Event tracking (scripts can get the current event)
Instant in-game documentation, search and help
Friendly debug messages (togglable) to assist scripting
Scripting
For a list of placeholders in game, use /spp list
- You can search for something using /isp list <word>
For help on a placeholder us /isp help <placeholder>
Click here for the online list of PLACEHOLDERS.
For a list of keywords uss /isp keywords
For help on a keyword use /isp help <keyword>
Click here for the information about KEYWORDS
Commands
ALIASES: /spp /script /scritping
List of commands
/scripting help
Descriptive information about a placeholder or keyword
/scripting help <placeholder|keyword>
Returns a boolean (true/false) of an expression
e.g. /scripting if 1+1=2
/scripting if <expression>
Returns the result of an expression
e.g. /scripting eval 56*26-13
/scripting eval <expression>
Execute a script for yourself
e.g. /scripting exec cmdop warp castle;cmdop nuke
/scripting exec <script>
Execute a script for another player
/scripting player <player> <script>
Execute a script for every player on the server
/scripting all <script>
Set a variable
/scripting gvar <varname> <value>
Set a line of a sign
/scripting setline <number> <value>
Set a line of a sign to the result of an expression
(useful for entering unicode characters)
/scripting putline <number> <expression>
List the placeholders for the plugin
(enter a word for <search> to list all matching placeholders)
e.g. /scripting list factions - list the placeholders for the plugin factions
/scripting list
/scripting list <page>
/scripting list <search>
List the keywords that can be used in scripts
/scripting keywords
/scripting keywords <page>
Enable a disabled placeholder
/scripting enable <placeholder>
Disable a placeholder
/scripting disable <placeholder>
Schedule a script to run after a set amount of time
/scripting schedule <timediff> <script>
Save the plugin (including variables)
/scripting save
Reload the config, placeholders, and language files
/scripting reload
Permissions
Loads of permissions (which I need to document)
Development
- This project is 57% complete
Any1 that can help me to script my server MOTD and the online number reloads every secons? Please help. and some custom commands
Added custom command creation in v0.1.0
Done so far:
- Commands
- Permissions
- scheduling
- keywords
- placeholders
With the events (Which is the main part of this plugin), it has the foundation for event management, but it doesn't have any events added yet...
The current download is simply for those who want to have a look at the potential of this plugin. It is not buggy, but many features are lacking so it currently his limited applications
@z65703071 This is mostly going to be an extension to all my other plugins. Here is a basic outline of what I have planned:
Functional Placeholders
Currently, with my other plugins you've seen, there are around 150 placeholders. I am going to be adding a load more to do basically anything you want in the game: I've done some inventory management placeholders, but there is still a lot more to do: - Setting blocks
- Spawning entities
- Teleporting players etc.
Events
Scripts can be triggered by various events.
Block interaction: calling a script when you click a certain block
Region scripts: Entering/leaving worldguard regions
+ A few other important events
Chat:
My plugin IndividualMessages will be used for this, as well as some new features:
Call a script when a player types something into chat:
e.g. /somecommand
or if just a specific word appears in the chat.
Script scheduling:
I've got something that allows you to schedule a script after a certain amount of time, and it will call even after a restart.
Expecting it
If someone is interested in me making this, I can spend some more time getting it finished.