Skip to content

Commit

Permalink
Release theSpawn V1.4.0
Browse files Browse the repository at this point in the history
- *[NEW]* - TPAs (`/tpa`, `/tpahere`, `/tpaccept`, `/tpdecline`)
- *[NEW]* - Spawn delay
- *[CHANGE]* - Better configuration file updating
- *[FIX]* - Fixed a bug, when no hub is set (the player will teleported to the spawn of the default level)
- *[FIX]* - Fixed a respawn bug
- *[VERSION]* - Version bump
  • Loading branch information
supercrafter333 committed Aug 23, 2021
1 parent c6031e6 commit b9ac1df
Show file tree
Hide file tree
Showing 6 changed files with 299 additions and 29 deletions.
11 changes: 10 additions & 1 deletion .changlogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,13 @@
> This update is only a protocol fix update.This version doesn't contain any major code changes from the previous version.
- Add protocol `448` for MCPE v1.17.10
- Better updating of the config files
- Version bump
- Version bump

### Changelog V1.3.3 » V1.4.0
> This version doesn't contain any major code changes from the previous version. It's only a feature and bug fix update.
- *[NEW]* - TPAs (`/tpa`, `/tpahere`, `/tpaccept`, `/tpdecline`)
- *[NEW]* - Spawn delay
- *[CHANGE]* - Better configuration file updating
- *[FIX]* - Fixed a bug, when no hub is set (the player will teleported to the spawn of the default level)
- *[FIX]* - Fixed a respawn bug
- *[VERSION]* - Version bump
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Discord](https://img.shields.io/badge/chat-on%20discord-7289da.svg)](https://discord.gg/ca6cWPpERp)
# theSpawn - V1.3.3 [![](https://poggit.pmmp.io/shield.state/theSpawn)](https://poggit.pmmp.io/p/theSpawn) [![](https://poggit.pmmp.io/shield.dl.total/theSpawn)](https://poggit.pmmp.io/p/theSpawn)
# theSpawn - V1.4.0 [![](https://poggit.pmmp.io/shield.state/theSpawn)](https://poggit.pmmp.io/p/theSpawn) [![](https://poggit.pmmp.io/shield.dl.total/theSpawn)](https://poggit.pmmp.io/p/theSpawn)

**This plugin will replace MSpawns! Help me to make this plugin better!**

Expand All @@ -18,14 +18,16 @@ This plugin is not out of date and will get better developed from time to time.
- waterdog teleport hub server support
- Homes [default: active]
- Warps [default: active]
- Random-Hubs [default: deactive]
- Teleport to hub on Join [default: deactive]
- TPAs [default: active]
- Random-Hubs [default: inactive]
- Teleport to hub on Join [default: active]

### TODOs
- [X] Homes
- [X] Command files
- [X] Warps
- [X] Random-Hubs ([#12](https://github.com/supercrafter333/theSpawn/issues/12))
- [X] TPAs ([#14](https://github.com/supercrafter333/theSpawn/issues/14))

### Report Bug
You've found a Bug?
Expand All @@ -52,6 +54,10 @@ You've found a Bug?
|`/setwarp <warp>`|Set a warp|
|`/delwarp <warp>`|Remove a warp|
|`/warp <warp>`|Teleport you to a warp|
|`/tpa <player>`|Send a teleportation awnser to a player|
|`/tpahere <player>`|Send a teleportation awnser to a player|
|`/tpaccept <player>`|Accept a tpa|
|`/tpdecline <player>`|Decline a tpa|

### License:
This Plugin has the [Apache License 2.0](/LICENSE)! Plugin by supercrafter333!
Expand Down
31 changes: 21 additions & 10 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: theSpawn
version: 1.3.3
version: 1.4.0
api: 3.0.0
main: supercrafter333\theSpawn\theSpawn
author: supercrafter333
Expand All @@ -14,14 +14,6 @@ mcpe-protocols:
- 448

permissions:
theSpawn.sethome.cmd:
default: true
theSpawn.delhome.cmd:
default: true
theSpawn.home.cmd:
default: true
theSpawn.warp.cmd:
default: true
theSpawn.bypass:
default: op
children:
Expand All @@ -40,4 +32,23 @@ permissions:
theSpawn.setwarp.cmd:
default: op
theSpawn.delwarp.cmd:
default: op
default: op
theSpawn.sethome.cmd:
default: true
theSpawn.delhome.cmd:
default: true
theSpawn.home.cmd:
default: true
theSpawn.warp.cmd:
default: true
theSpawn.tpas.cmd:
default: true
children:
theSpawn.tpa.cmd:
default: true
theSpawn.tpahere.cmd:
default: true
theSpawn.tpaccept.cmd:
default: true
theSpawn.tpdecline.cmd:
default: true
14 changes: 11 additions & 3 deletions resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@ use-homes: "true"
#warps [true | false]
use-warps: "true"

#TPAs [true | false]
use-tpas: "true"
tpa-time: 30 #seconds

#Spawn Teleport delay [true | false]
use-spawnDelay: "false"
spawn-delay-seconds: 3

#hub teleport on Join [true | false]
hub-teleport-on-join: "false"
hub-teleport-on-join: "true"


#don't change this
version: "1.3.3"
#DON'T CHANGE THIS!!
version: "1.4.0"

############################
##########theSpawn##########
Expand Down
24 changes: 23 additions & 1 deletion resources/messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ warplist: "§eList of warps: §7{warplist}"
#uses: none
no-warps-set: "§cThis server doesn't have any warps yet!"

#tpa messages
tpa-send: "§aYou've successfully send a tpa to §7{target}§a!"
new-tpa: "§7{source}§e has send you an tpa, to teleport him to you! Run §8/tpaccept {source}§e to accept the tpa and §8/tpdecline {source}§e!"
new-tpa-here: "§7{source}§e has send you an tpa, to teleport you to him! Run §8/tpaccept {source}§e to accept the tpa and §8/tpdecline {source}§e!"
tpa-secs: "§eYour TPA ends in §7{secs}§e seconds"
pending-tpa-error: "§cYou have a pending TPA. Please wait until the tpa has been answered or finished and then try again."
no-pending-tpa: "§cYou don't have a pending tpa!"
no-self-tpa: "§cYou can't send a tpa to yourself!"
tpa-secs-left: "§eThe tpa from {source} ends in §b{secs} seconds§e!"
player-not-found: "§cThe selected player §7{name}§c isn't online!"
tpa-cancelled-by-source: "§cThe Tpa from {source} was cancelled because the player is offline."
tpa-cancelled-by-target: "§cThe Tpa to {target} was cancelled because the player is offline."
tpa-accepted-source: "§7{target}§a has accepted your tpa!"
tpa-accepted-target: "§aYou've successfully accepted the tpa of §{source}§a!"
tpa-declined-source: "§7{target}§c has declined your tpa!"
tpa-declined-target: "§aYou've successfully declined the tpa of §{source}§a!"
tpa-ended: "The TpaInfo from {source} to {target} is ended now."

#spawn delays
delay-tip: "§8[§eYou where teleported in §7{secs}§e!§8]"
delay-stopped-by-move: "§cTeleport cancelled because you've moved you."

#errors
#uses: none
no-spawn-set: "§4ERROR --> §cNo spawn was set for this world!"
Expand All @@ -75,7 +97,7 @@ no-spawn-set-for-world: "§cThere's no spawn set for world {world}!"


#don't change this
version: "1.3.3"
version: "1.4.0"


############################
Expand Down
Loading

0 comments on commit b9ac1df

Please sign in to comment.