kmcsr / delayexe_mcdr

A plugin for MCDReforged

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delay ExE

  • A plugin for delay execute command until all player have left
  • You can use it as a API

Example for API

import delayexe

def a_method():
	delayexe.add_delay_task('say There are no player online') # run minecraft command
	delayexe.add_delay_task('kill @a') # Must nothing to kill
	delayexe.add_delay_task(lambda: print('There are no player online')) # run python method

	# ...

	delayexe.clear_delay_task() # clear all delay tasks, the top of three commands will never run, if any player is online

# ...

a_method()

# ...

About

A plugin for MCDReforged


Languages

Language:Python 86.6%Language:Shell 13.4%