Files
mc-plugins/pluseins.py.dir/plugin.py
2023-02-05 05:23:52 -05:00

13 lines
292 B
Python

class PluseinsPlugin(PythonPlugin):
def onEnable(self):
pass
def onCommand(self, sender, command, lable, args):
eingabe = args[0]
zahl = int(eingabe)
zahl = zahl + 1
ausgabe = str(zahl)
self.getServer().broadcastMessage("Das Ergebnis ist " + ausgabe
return True