@@ -18,81 +18,6 @@ Give/Get items:
18
18
* zombie : spawn_egg:32
19
19
* villager : spawn_egg:15
20
20
21
-
22
- # Todo/Ideas
23
-
24
- * Player Interact Peacefully
25
- - command: attack/interact - defualts to interact
26
- - if holding a weapon attack (always)
27
- - if holding compass/clock/food/string/feather/seeds (never)
28
- * Add a Snowball/Egg or something and use it as football..
29
- * RuneGM:
30
- * Adds a GameMaster:
31
- * Automatically spawned villager or a NPC (Player)
32
- * If LocalChat is active we use it... otherwise you need to use /rp
33
- command.
34
- * If attacked it will retaliate (or kill you...)
35
- * Implements the RuinPvP casino and shop functionality.
36
- * Provide rankings and stats...
37
- * Moves around randomly in his spawn area...
38
- * PMScript:
39
- {{ something }} the something is a PHP expression.
40
- Some syntax sugar:
41
- $[_A-Za-z][_a-zA-Z0-9]*.[_A-Za-z][_A-Za-z0-9]*[^(] ---> converted
42
- to $<something >->get<something >()
43
-
44
- @ php ... this is raw PHP code.. prefered altenate syntax.
45
- else goes to "PM command processor"
46
- Event handlers... per world.
47
- Use closures:
48
- $example = function ($arg) {
49
- echo($arg);
50
- }
51
- $example("hello");
52
- Gets called onLevelLoad
53
- registerEvents($obj,$plugin);
54
- Check what "reload" does, can it unregister event? there is no API
55
- for it...
56
- ?Loader: disablePlugin($plugin)
57
- >>>HandlerList::unregisterAll($plugin);
58
- ?removePermissions
59
-
60
- Context variables
61
-
62
- * $Sender
63
- * $Console
64
- * $Server
65
- * $Player (if sender is a player otherwise null)
66
- * $Logger
67
- ON EVENT HANDLER
68
- * $Event
69
-
70
-
71
- # NEW PLUGIN IDEAS:
72
-
73
- - plots: place a sign claim a plot. Place a sign restrict the plot.
74
- - per-level plugins. Plugins only active on a per level basis
75
- - async-task plugin?
76
- - fork per-level
77
- - creative restrict -
78
- - do not allow PvP in creative, warning or stop
79
- - if somebody kills in creative, we switch gamemode
80
- - creative pvp
81
- - track health
82
-
83
-
84
- # MINI GAMES
85
-
86
- ## DeathSwap
87
-
88
- After the game has started, run away from your opponents.
89
- A random timer runs in the backround, and when it finishes after upto
90
- 2 Minutes, 2 players postitions will be swapped. The timer will be
91
- restarted, and the next time it finishes, two new randomly chosen
92
- players will get swapped. Try to be the last person alive and kill
93
- other players without seeing them. It's up to you to find out how to
94
- do that.
95
-
96
21
# Copyright
97
22
98
23
bad-plugins
0 commit comments