Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

Commit 9b670a9

Browse files
committed
Added RunePvP
1 parent 684f096 commit 9b670a9

File tree

7 files changed

+957
-0
lines changed

7 files changed

+957
-0
lines changed

Media/Iron_Sword.png

302 Bytes
Loading

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,25 @@ Converted plugins
8080
</ul>
8181
</td>
8282
</tr>
83+
<!---------------------------------------------------------------------->
84+
<tr>
85+
<th>
86+
<a href="https://github.com/alejandroliu/plugin-remakes/tree/master/RunePvP">
87+
<img src="https://raw.githubusercontent.com/alejandroliu/plugin-remakes/master/Media/Iron_Sword.png" style="width:64px;height:64px" width="64" height="64"/>
88+
<br/>
89+
RunePvP
90+
</a>
91+
</th>
92+
<td>
93+
A funny PvP manager plugin inspired by RuinPvP
94+
<ul>
95+
<li>
96+
<a href="https://github.com/alejandroliu/bad-plugins/releases/tag/RunePvP-1.1rel" title="Downloads">v1.1rel
97+
<img src="https://raw.githubusercontent.com/alejandroliu/plugin-remakes/master/Media/download-icon.png" alt="Downloads"/></a>
98+
</li>
99+
</ul>
100+
</td>
101+
</tr>
83102

84103

85104
</table>

RunePvP/README.md

+210
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
<img src="https://raw.githubusercontent.com/alejandroliu/bad-plugins/master/Media/Iron_Sword.png" style="width:64px;height:64px" width="64" height="64"/>
2+
3+
RunePvP
4+
=======
5+
6+
* Summary: A funny PvP manager plugin
7+
* Dependency Plugins: N/A
8+
* PocketMine-MP version: 1.4 - API 1.10.0
9+
* DependencyPlugins: -
10+
* OptionalPlugins: SignShop,PocketMoney,MassiveEconomy,EconomyAPI
11+
* Categories: Fun
12+
* Plugin Access: Commands, Entity
13+
* WebSite: [github](https://github.com/alejandroliu/pocketmine-plugins/tree/master/RunePvP)
14+
15+
Overview
16+
--------
17+
18+
A simple PvP manager inspired by RuinPvP. Unlike RuinPvP this one
19+
works with the current API and has a different gameplay more centered
20+
around signs instead of entering commands.
21+
22+
It needs a economy plugin like for example, PocketMoney.
23+
24+
### Rules:
25+
26+
At first, every users gets 500 points. This is configured in
27+
PocketMoney (or whatever Economy plugin you use).
28+
29+
If players kills another player, the winner gets 100 points and the
30+
loser loses 100 points. Once players are under 100 points they will
31+
not loose any points. And winners only get 50 points for these kills.
32+
33+
Whenever players reach 10 kills, they get a level up and get a 1,000
34+
points prize.
35+
36+
Players can then use the points they got to gamble or buy items using
37+
`Signs` across the playing world.
38+
39+
Basic Usage:
40+
41+
* runepvp - Will show your RunePvP stats.
42+
* runepvp stats [player] - Show the RunePvP stats for [player]
43+
* runepvp top [online] - Show top players.
44+
45+
Documentation
46+
-------------
47+
48+
This plugin supports PocketMoney and has experimental support for
49+
MassiveEconomy and EconomyAPI.
50+
51+
### Commands
52+
53+
* runepvp - Will show your RunePvP stats.
54+
* runepvp stats [player] - Show the RunePvP stats for [player]
55+
* runepvp top [online] - Show top 5 players.
56+
57+
### Signs
58+
59+
RunePvP supports three types of signs.
60+
61+
1. Shop signs
62+
2. Gambling signs
63+
3. Informational signs
64+
65+
### Shop Signs
66+
67+
Place a sign with the following text:
68+
69+
[SHOP]
70+
Item_name [x10]
71+
price
72+
<anything>
73+
74+
Players will be able to buy the specified items at the set price.
75+
Defaults to 1, but this can be changed with the x?? modifier.
76+
Examples from RuinPvP:
77+
78+
* [SHOP]
79+
* Wooden Sword
80+
* 200p
81+
* [SHOP]
82+
* Golden Sword
83+
* 250p
84+
* [SHOP]
85+
* Stone Sword
86+
* 500p
87+
* [SHOP]
88+
* Iron Sword
89+
* 700p
90+
* [SHOP]
91+
* Diamond Sword
92+
* 1000p
93+
* [SHOP]
94+
* Apples x10
95+
* 200p
96+
97+
### Gambling Signs
98+
99+
Tap a sign and you place a bet. Place a sign with the following text:
100+
101+
[CASINO]
102+
<odds>:<payout>
103+
<price>
104+
105+
The odds is the number of chances, so the higher the number the less
106+
chance of payout. Payout is how much you get pay if you win. Price
107+
is how much each bet costs.
108+
Examples:
109+
110+
* [CASINO]
111+
* 5:300
112+
* 100p
113+
114+
### Informational Signs
115+
116+
These signs show either rankings or the player's stats. Just place a
117+
sign with the first line of text with:
118+
119+
* `[STATS]` : Player stats. Every player sees their own stats.
120+
* `[RANKINGS]` : All time top 3.
121+
* `[ONLINE RANKS]` : Ranking of only players on-line
122+
123+
If you tap on the rakings or online-rankings sign you get a list of
124+
the top *five* players with level and kill numbers.
125+
126+
### Configuration
127+
128+
These can be configured from `config.yml`:
129+
130+
points:
131+
kills: 100
132+
level: 1000
133+
signs:
134+
stats:
135+
- '[STATS]'
136+
rankings:
137+
- '[RANKINGS]'
138+
onlineranks:
139+
- '[ONLINE RANKS]'
140+
shop:
141+
- '[SHOP]'
142+
casino:
143+
- '[CASINO]'
144+
settings:
145+
dynamic-updates: 1
146+
147+
* points
148+
* kills : number of points awarded to a player for each kill.
149+
* level : number of points awarded to a player for leveling up.
150+
* signs : customize the text of the signs. Multiple text alternatives
151+
are possible and allowed. For example:
152+
shop:
153+
- '[SHOP]'
154+
- '[TIENDA]'
155+
* settings
156+
* dynamic-updates: if off, informational signs are only updated when
157+
tapped.
158+
159+
160+
### Permission Nodes:
161+
162+
* runepvp.cmd: Give players access to RunePvP command
163+
* runepvp.cmd.stats: Stats sub command
164+
* runepvp.cmd.stats.other: View stats of other players
165+
* runepvp.cmd.top: View rankings
166+
* runepvp.signs.place: Allow users to place RunePvP signs
167+
* runepvp.signs.place.stats: Allow users to place RunePvP signs for Stats
168+
* runepvp.signs.place.rankings: Allow users to place RunePvP signs for
169+
Rankings
170+
* runepvp.signs.place.onlineranks: Allow users to place RunePvP signs
171+
for Online ranks
172+
* runepvp.signs.place.shop: Allow users to place RunePvP signs for shops
173+
* runepvp.signs.place.casino: Allow users to place RunePvP signs for
174+
Casinos
175+
* runepvp.signs.use: Allow users to use RunePvP signs
176+
* runepvp.signs.use.stats: Allow users to use stats RunePvP signs
177+
* runepvp.signs.use.rankings: Allow users to use specific RunePvP signs
178+
* runepvp.signs.use.onlineranks: Allow users to use specific RunePvP signs
179+
* runepvp.signs.use.shop: Allow users to use specific RunePvP signs
180+
* runepvp.signs.use.casino: Allow users to use specific RunePvP signs
181+
182+
Changes
183+
-------
184+
185+
* 1.1.0 : More economy support
186+
* Some code fixes and removed some debug code that slipped through
187+
* Added support for Economy and MassiveEconomy.
188+
* Added top (rankings) command
189+
* Added signs
190+
* 1.0.0 : First submission
191+
192+
Copyright
193+
---------
194+
195+
RunePvP
196+
Copyright (C) 2015 Alejandro Liu
197+
All Rights Reserved.
198+
199+
This program is free software: you can redistribute it and/or modify
200+
it under the terms of the GNU General Public License as published by
201+
the Free Software Foundation, either version 2 of the License, or
202+
(at your option) any later version.
203+
204+
This program is distributed in the hope that it will be useful,
205+
but WITHOUT ANY WARRANTY; without even the implied warranty of
206+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
207+
GNU General Public License for more details.
208+
209+
You should have received a copy of the GNU General Public License
210+
along with this program. If not, see <http://www.gnu.org/licenses/>.

RunePvP/plugin.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: RunePvP
2+
version: 1.1.0
3+
main: aliuly\runepvp\Main
4+
api: 1.10.0
5+
load: POSTWORLD
6+
# You have to have at least one of these...
7+
softdepend: [SignShop,PocketMoney,MassiveEconomy,EconomyAPI]
8+
9+
description: A funny PvP manager plugin inspired by RuinPvP
10+
author: aliuly
11+
12+
commands:
13+
runepvp:
14+
description: Show your RunePvP stats
15+
usage: "/runepvp"
16+
aliases: [rp]
17+
permission: runepvp.cmd
18+
19+
permissions:
20+
runepvp.cmd:
21+
default: true
22+
description: "Give players access to RunePvP command"
23+
runepvp.cmd.stats:
24+
default: true
25+
description: "Access to stats command"
26+
runepvp.cmd.stats.other:
27+
default: op
28+
description: "View other's stats"
29+
runepvp.cmd.top:
30+
default: true
31+
description: "View top players"
32+
runepvp.signs.place:
33+
default: op
34+
description: "Allow users to place RunePvP signs"
35+
runepvp.signs.place.stats:
36+
default: op
37+
description: "Allow users to place RunePvP signs for Stats"
38+
runepvp.signs.place.rankings:
39+
default: op
40+
description: "Allow users to place RunePvP signs for Rankings"
41+
runepvp.signs.place.onlineranks:
42+
default: op
43+
description: "Allow users to place RunePvP signs for Online ranks"
44+
runepvp.signs.place.shop:
45+
default: op
46+
description: "Allow users to place RunePvP signs for shops"
47+
runepvp.signs.place.casino:
48+
default: op
49+
description: "Allow users to place RunePvP signs for Casinos"
50+
runepvp.signs.use:
51+
default: op
52+
description: "Allow users to use RunePvP signs"
53+
runepvp.signs.use.stats:
54+
default: op
55+
description: "Allow users to use specific RunePvP signs"
56+
runepvp.signs.use.rankings:
57+
default: op
58+
description: "Allow users to use specific RunePvP signs"
59+
runepvp.signs.use.onlineranks:
60+
default: op
61+
description: "Allow users to use specific RunePvP signs"
62+
runepvp.signs.use.shop:
63+
default: op
64+
description: "Allow users to use specific RunePvP signs"
65+
runepvp.signs.use.casino:
66+
default: op
67+
description: "Allow users to use specific RunePvP signs"

RunePvP/ruinpvp.txt

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
-Rule-
2+
3+
At first, every users gets 500 points.
4+
If user kills other, user gets 100 points and dead user loses 100 points.
5+
But dead user has under 100 points, dead user will not lose any
6+
points. Killed user too.
7+
8+
When user's level will be up per 10kills. User gets 1000 points more
9+
if his level is up.
10+
11+
And users can buy some items which need to pvp at shop. Lastly users
12+
can do gambling to earn some points at casino.
13+
14+
That's all.
15+
16+
-Commands-
17+
18+
/ruinpvp
19+
This is the master command. It will shows you a help page. You can
20+
also use this command as /rp.
21+
ex. /rp stat
22+
23+
/ruinpvp help
24+
Same as a master comand.
25+
26+
/ruinpvp stat
27+
It will shows your status. (level, kills, points....)
28+
29+
/ruinpvp shop
30+
It will shows shop command.
31+
32+
/ruinpvp casino
33+
It will shows casino command.
34+
35+
=RuinPvP Point Shop=
36+
[Wooden Sword:200p]/ruinpvp buywood
37+
38+
[Golden Sword:250p]/ruinpvp buygold
39+
[Stone Sword:500p]/ruinpvp buystone
40+
[Iron Sword:700p]/ruinpvp buyiron
41+
[Diamond Sword:1000p]/ruinpvp buydiamond
42+
[Apples x10:200p]/ruinpvp buyapple
43+
44+
=RuinPvP Casino=
45+
[Lottery:100p]/ruinpvp lotto
46+
[Gamble:?p]/ruinpvp gamble <points>

0 commit comments

Comments
 (0)