! sPYgotUtils | Python Scripts | Plugin Hider | Chat/Cmd Filter | Custom Commands | More ! icon

! sPYgotUtils | Python Scripts | Plugin Hider | Chat/Cmd Filter | Custom Commands | More ! -----

BungeeCord/Spigot py scripting plugin! Plugin hider, chat & cmd filter, custom commands, and more!




Made PacketEvents 1.8-pre-13 compatible.
----------, Apr 23, 2021

I added an in game python shell as well as some bug fixes.
Only available for spigot.


do /pyshell (or any of its aliases) to toggle it.
/pyshell toggle | toggles the shell.
/pyshell stop, off, disable | disables the shell.
/pyshell begin, start, on, enable | enables the shell.
/pyshell reset | resets the shell (removes all variables, functions, etc and starts from scratch)
/pyshell getlines | gets all the lines you executed.

stdout and stderr are redirected to you, the player with white and red as default colours respectively.

You can also do exit() to exit the shell.

Minecraft replaces multiple spaces with just one, so to have more than one space, you can do \ . It gets replaced with a single space. You can chain these together to make multiple spaces (for indentation purposes).

If you have an incomplete thing, the shell will go into a sort of "scripting" mode where it appends all your stuff to a buffer until you send a single \ (essentially an empty string). For example:
Code (Text):

> sq = lambda x: x * x
> if sq(3) == 9:
> \ \ print "the square of 3 is 9"
> \
"the square of 3 is 9"
 
----------, Apr 8, 2021

Added new spigot functions. They should works the same way that they would in java, but without the plugin argument.

Code (Python):

run_task (method )
run_async_task (method )
run_task_later (method , delay )
run_async_task_later (method , delay )
run_task_timer (method , delay , period )
run_async_task_timer (method , delay , period )
 
Added new bungee functions. They should works the same way that they would in java, but without the plugin argument.

Code (Python):

run_async (task )
schedule (task , delay , period = 0 , unit =TimeUnit. MILLISECONDS )
 
New variable: plugin

py-settings.yml changes: https://github.com/True-cc/SPYgotUt...d0c8157ff530bf566abf4f30b065861490e482953b030
----------, Apr 5, 2021

Cleaned up the chat filter a lot.
Bug fixes.
Now using SimplixStorage because it's universal (doesn't require spigot or bungee etc).
Added more features probably.

Thinking of porting to velocity...
----------, Mar 4, 2021

Now it should generate.
----------, Mar 1, 2021

Added init, start-defs, and start-vars to py-settings.yml
Made it so you can execute files (without import) and strings from python scripts.
Cleaned some stuff up.
Renamed AbstractDB to AbstractSQLDB
Probably more!

These changes are potentially breaking!
----------, Mar 1, 2021


I forgot to add {} at a place and that errored shit out. Also implemented
incoming-tab.replacement to be executed as python as well as just raw list.
----------, Feb 21, 2021

pre-exec and post-exec have been implemented. Forgot to do that xd
For post-exec, the variable "check" is whether or not the check got triggered (true or false).
----------, Feb 21, 2021

Redid some stuff and added SQLite and MySQL support. Check sql.py and check source code for documentation. Also some bug fixes. Config system (yaml & hopefully json) coming soon™
----------, Feb 18, 2021

Added support for BungeeCord!
Spigot version now requires you to download PacketEvents yourself here: https://github.com/retrooper/packetevents/releases for reasons I won't go int to.

All commands are the same except with a "b" added to the beginning for obvious reasons.

Scripting for BungeeCord is about the same, but no packet support and the command & event system is slightly different (check examples).
----------, Feb 18, 2021

Made importing possible.
Added setting to py-settings.yml :
Code (YAML):

load-scripts
:
 - command.py
  - event.py
  - packet.py
  - test.py

remove-classes-on-disable
: true
 
Sometimes there is leftover .class files from jython so I added remove-classes-on-disable to clear them on disable.
----------, Feb 14, 2021

Also added a new default script.
----------, Feb 14, 2021

Resource Information
Author:
----------
Total Downloads: 784
First Release: Feb 13, 2021
Last Update: Apr 23, 2021
Category: ---------------
All-Time Rating:
3 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings