Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for killstreak #365

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
54faec1
v1.15.2 - use new dev build link in modules - issue #105
Eredrim May 17, 2021
a343157
v1.15.2 - fix preventing teleportation if no BATTLE region
Eredrim May 17, 2021
25338e3
v1.15.2 - fix return messages of flagtype command - resolve #102
Eredrim May 17, 2021
702b9c4
v1.15.2 - fix errors with wall banners in block based games - closes …
Eredrim May 27, 2021
1a4f145
feature #109 add only drops items config
Oruss7 May 30, 2021
bbf1260
[doc] Add missing commands, permissions, more info on spawns
oskarkk May 30, 2021
bab6d94
fix #110 adding player speed config + restore
Oruss7 May 28, 2021
85f7fbe
Merge pull request #111 from Oruss7/fix-110-player-speed
Eredrim May 31, 2021
25d4436
Merge pull request #115 from Oruss7/feature-109-only-drop-items
Eredrim May 31, 2021
32bc2af
[doc] Merge pull request #108 from oskarkk/patch-1
Eredrim Jun 1, 2021
7bafe82
v1.15.2 - Add files from Eclipse/VS Code to .gitignore
oskarkk May 31, 2021
67f8a4b
v1.15.2 - fix classes.yml management
oskarkk May 31, 2021
219aa24
v1.15.2 - refactor: permissions
Oruss7 Jul 12, 2021
0d82488
Add polish language by Anonymus sokus
Oruss7 Aug 28, 2021
71b2947
Merge pull request #126 from Oruss7/master
Oruss7 Aug 28, 2021
bdabb00
Message command wasn't clear.
Oruss7 Sep 24, 2021
611545b
Fix player getting a health boost if joining with an armor health boost
Oruss7 Sep 25, 2021
209c1f2
Merge pull request #128 from Oruss7/eredrim/fix-armors-health-modifiers
Eredrim Sep 26, 2021
b828d5c
Fix missing negation in hasExplicitClassPerm()
oskarkk Oct 3, 2021
8d0ab5f
Merge pull request #129 from oskarkk/fix-perms
Eredrim Oct 3, 2021
1a75447
Fix behavior of /pa class with single argument
oskarkk Oct 4, 2021
30f845d
v1.15.2 - fix softdepend in plugin.yml
Eredrim Oct 12, 2021
2c62f38
Link to set command doc (easier way to set items list)
Oruss7 Nov 29, 2021
66db373
v1.15.2 - fix NPE if join sign is wrongly written
Eredrim Feb 2, 2022
2301a83
v1.15.2 - Improve FAQ & fix typo in doc [doc]
Eredrim Feb 2, 2022
ee14744
v1.15.2 - Merge pull request #130 from oskarkk/class-edit
Eredrim Apr 7, 2022
b5ab2a9
v1.15.2 - release [skip ci]
Eredrim Apr 10, 2022
7a92d5b
v1.15.3 - bump to new version
Eredrim May 7, 2022
31abae9
v1.15.3 - fix flag effect duration in PhysicalFlags
Eredrim May 7, 2022
1d26ef0
v1.15.3 - fix deserialization issues in PlayerKillReward and global c…
Eredrim May 19, 2022
3768a28
v1.15.3 - fix auto-equip mob heads - closes #145
Eredrim Jun 22, 2022
0782d43
add LICENSE [skip ci]
Eredrim Jul 28, 2022
677ed00
v1.15.3 - Fix powerups documentation [skip ci]
Eredrim Nov 20, 2022
ead715a
Update worldguard mod documentation [skip ci]
Eredrim Dec 12, 2022
d6c36aa
v1.15.3 - lock updater for next major version
Eredrim Jan 30, 2023
6c2cf5d
v1.15.3 - release [skip ci]
Eredrim Jan 30, 2023
b9bd27b
v1.15.3 - Update modules.md [skip ci]
Eredrim Jul 28, 2023
62ddb5c
v1.15.4 - Fix exception in goal food with more than 2 teams
Eredrim Jul 30, 2023
bb63265
v1.15.4 - Update configuration.md [skip ci]
Eredrim Sep 7, 2023
cb8fca9
Add issue templates
Eredrim Feb 1, 2024
3b3a210
doc: Update worldedit.md [skip ci]
Eredrim Apr 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Bug report
about: Report an error or something that doesn't work correcty
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
Describe what happened and what you were trying to do.

**Reproduction steps**
Describe the context of the bug. Did it happen during a match, in the lounge or out of an arena? If it was during a match, with which goal and how many teams/players? Is there a specific action to do in order to trigger the error?

**Additional elements**
If applicable, add screenshots, log extract (between two lines of ` ``` `), or additional information to help explain your problem.

**Config information**
- Server software and version: [e.g. Paper 1.20.4]
- Java Version: [e.g. 17]
- PVPArena version: [e.g. 1.15.4-SNAPSHOT-b1]
- [If necessary: affected module and its version]
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Feature request
about: Suggest an idea for enhancing PVPArena
title: ''
labels: enhancement
assignees: ''

---

**Describe the solution you'd like**
A clear and concise description of what you want and why.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ dependency-reduced-pom.xml


/bin/
/.settings/
/.settings/
/.classpath
/.project
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions doc/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ Click on a command to get its syntax, usage examples and more information about
Command | Shorthand | Definition
------------- | ------------- | -------------
[/pa debug](commands/debug.md) | /pa !d | Debug nodes
/pa duty | /pa !du | Toggle your shortcuts override status
[/pa modules](commands/modules.md) | /pa !mi | Manage modules
[/pa reload](commands/reload.md) | /pa !r | Reload arena configs

## Arena Administration Commands

> ℹ Permission: pvparena.admin OR both ownership and pvparena.create
> ℹ Permission: pvparena.admin OR both ownership of an arena and pvparena.create

Command | Shorthand | Definition
------------- | ------------- | -------------
Expand All @@ -39,6 +40,7 @@ Command | Shorthand | Definition
[/pa forcewin](commands/forcewin.md) | /pa !fw | Force a player/team to win.
[/pa gamemode](commands/gamemode.md) | /pa !gm | Change the general gamemode of an arena
[/pa goal](commands/goal.md) | /pa !g | Manage arena goals
[/pa playerclass](commands/playerclass.md) | /pa !pcl | Manage player classes
[/pa playerjoin](commands/playerjoin.md) | /pa !pj | Make a player join
[/pa protection](commands/protection.md) | /pa !p | Manage arena protections
[/pa region](commands/region.md) | /pa !rg | Manage arena regions
Expand Down Expand Up @@ -75,4 +77,4 @@ Command | Shorthand | Definition
[/pa ready](commands/ready.md) | /pa -r | Ready you up or list who is ready
/pa spectate | /pa -s | Spectate an arena
[/pa stats](commands/stats.md) | /pa -s | Show [arena/global] statistics
/pa version | /pa -v | Show detailed version information
/pa version | /pa -v | Show detailed version information
21 changes: 21 additions & 0 deletions doc/commands/playerclass.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Playerclass command

## Description

This command manages the player class for an arena. You can use it to edit and remove (clear) it, but you cannot show it.

## Usage

Command | Definition
------------- | -------------
/pa [arena] playerclass save | Save your inventory to the class items of your player class
/pa [arena] playerclass remove | Remove a player class

Example: use `/pa temp playerclass save` to save your inventory to your player class of the arena "temp"

> **🚩 Tip:**
> Type `/pa leave` to leave class preview

## Hazards

You shouldn't do that when a game is running, and make sure that you /pa reload afterwards.
6 changes: 3 additions & 3 deletions doc/commands/setowner.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Setowner Command

##Description
## Description

This command hands over ownership. This has to be either "%server%" or a player name. Note that the player name is
This command hands over ownership. This has to be either "%server%" or a player name. By default every arena created by a player with permission `pvparena.admin` is owned by the server. Note that the player name is
NOT checked, but you can verify it with [`/pa info`](../commands.md#arena-standard-commands)

##Usage Examples
## Usage Examples

Command | Definition
------------- | -------------
Expand Down
18 changes: 12 additions & 6 deletions doc/commands/spawn.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@ Example:

## Details

There are two syntax according to the [gamemode](gamemode.md) of your arena :
- If you're using a "free" arena, you can define unlimited spawns using syntax `/pa myArena spawn spawnX` where X should
be anything (word, digit, letter, etc).
- If your arena works with teams, you have to use `/pa myArena spawn teamspawn` where "team" is the name of one of your
team.
There are two syntaxes for the spawns for the fight, depending on the [gamemode](gamemode.md) of your arena:
- if you're using a "free" arena, you can define unlimited spawns using syntax `/pa myArena spawn spawnX` where X can
be anything (word, digit, letter, etc.)
- if your arena works with teams, you have to use `/pa myArena spawn teamspawn` where "team" is the name of one of your
teams

Then you must have lounge spawns:
- in the "free" gamemode: just one spawn named `lounge`
- in the "team" gamemode: one spawn for each team with the syntax `teamlounge` where "team" is the name of the
team

In addition to these spawns, every arena must have "exit" and "spectator" spawns.

If you get a message "spawn unknown", this is probably because you did not install/activate a [goal](../goals.md) or
a [module](../modules.md).
Expand All @@ -36,4 +42,4 @@ You can define unique offsets for each spawn name, in order to not be placed on
- `/pa [arena] spawn [spawnname] offset X Y Z`

For example 0.5 0 0.5 as X Y Z would work setting you on an edge.
You might want to keep F3 at hand to see if you actually have to add or subtract to get to the right edge.
You might want to keep F3 at hand to see if you actually have to add or subtract to get to the right edge.
5 changes: 3 additions & 2 deletions doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ general:
leavedeath: false #Kill the player on battleground leaving
lang: none
owner: server #Set owner of the arena
regionclearexceptions: [] #List of regions where entities are not cleared
regionclearexceptions: [] #List of entities that must not be cleared from arena regions, editable with '/pa regionclear' command
quickspawn: true #Spawn all players at the same time. If false, spawn player one by one.
prefix: MyArena #Name of the arena displayed in chat messages
showRemainingLives: true #Brodcast ramaning lives in chat
Expand All @@ -53,6 +53,7 @@ goal:
items:
keepAllOnRespawn: false #Keep inventory on respawn
excludeFromDrops: none #List of items not dropped on kill
onlyDrops: none #List of only items dropped on kill
keepOnRespawn: none #List of items kept on respawn (if keepAllOnRespawn is disabled)
minplayers: 2 #Minimum number of players to start fighting
random: true
Expand Down Expand Up @@ -201,4 +202,4 @@ spawns:
spawn2: world,863,58,-1007,0,0
spawn3: world,853,58,-997,-90,0
spawn4: world,863,58,-987,180,0
```
```
28 changes: 28 additions & 0 deletions doc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ an arena, use the command `sudo @p pa leave`.

<br>

## How to create a join sign for an arena?

Create a simple sign with the following pattern:
```
[arena]
yourArenaName
teamName

```

You can keep the third line empty to join a random team.
The fourth line can still be empty or filled with a custom message.

<br>

## How to regen my battlefield after a game?

Currently, there are two ways to regen battlefield after a match. You can use either
Expand All @@ -70,6 +85,19 @@ Just set `tp.death` to `spectator` in your arena config file (or with [`/pa [are

<br>

## Is it possible to automatically affect a class to all players or to a specific team?

Yes it is. In your arena config, you can set the `autoclass` the setting according to your needs:
* Use `None` if you don't want to use the auto-class mechanism. (default option)
* Write a simple class name, to affect the class to everyone.
Ex: `autoclass: pyro`
* Use the following pattern to affect a class to each team:
`autoclass: teamName1:classNameA;teamName2:classNameB`

NB: For the 3rd option, you have to specify a class for each team. There is no default choice.

<br>

## Still have questions?

Don't hesitate to [get in touch](../readme.md#support) with us 😉
2 changes: 1 addition & 1 deletion doc/mods/betterfight.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Case does not matter :)

## Commands

- `/pa [arena] !bf messages [number]` \- set message for [number]th kill
- `/pa [arena] !bf messages [number] [message]` \- set message for [number]th kill
- `/pa [arena] !bf items [items]` \- set an item string to add deadly items ("fireball,snowball,arrow")
- `/pa [arena] !bf reset` \- toggle killstreakondeath reset

Expand Down
2 changes: 2 additions & 0 deletions doc/mods/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Now set as many item spawning places as you want: `/pa [arena] spawn itemX`
- items \- the items to choose from
- interval \- spawn interval in seconds

> 🚩 You can set items with the [set](https://github.com/Eredrim/pvparena/blob/master/doc/commands/set.md) command (`inventory` or `hand`)

## Commands

\-
Expand Down
Loading