Programmieren lernen mit Python und Minecraft
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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
|
|
|
|
|