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

Easy fix #38

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a63259b
Update plugin.yml
skyss0fly Jul 8, 2023
1e0a89e
Update essentialsTP.php
skyss0fly Jul 8, 2023
1d4eb0a
Update essentialsTP.php
skyss0fly Jul 8, 2023
a1ecc79
Update plugin.yml
skyss0fly Jul 8, 2023
3810722
Update plugin.yml
skyss0fly Aug 26, 2023
95baa82
Delete .poggit.yml
skyss0fly Aug 26, 2023
5079568
Update and rename src/essentialsTP/essentialsTP.php to src/skyss0fly/…
skyss0fly Aug 26, 2023
99c43f6
Update plugin.yml
skyss0fly Aug 26, 2023
7d65cb5
Create .poggit.yml
poggit-bot Aug 26, 2023
2f7e4f3
Major fix
skyss0fly Aug 26, 2023
111ef7a
Merge pull request #1 from skyss0fly/Pm5-Dev
skyss0fly Aug 26, 2023
49d5b93
Update essentialsTP.php
skyss0fly Aug 26, 2023
e86abf4
Update essentialsTP.php
skyss0fly Aug 26, 2023
23e2251
Merge pull request #3 from skyss0fly/PM5
skyss0fly Aug 26, 2023
9b3257a
Update essentialsTP.php
skyss0fly Aug 26, 2023
ac2ebb5
Merge pull request #4 from skyss0fly/PM5
skyss0fly Aug 26, 2023
f1b14c2
Major fix
skyss0fly Aug 26, 2023
8b6cab7
Update essentialsTP.php
skyss0fly Aug 26, 2023
be83fc2
Update essentialsTP.php
skyss0fly Aug 26, 2023
e07529e
Update essentialsTP.php
skyss0fly Aug 26, 2023
6081b98
Update essentialsTP.php
skyss0fly Aug 26, 2023
c5d0b14
Update essentialsTP.php
skyss0fly Aug 26, 2023
96db4c3
More fixes
skyss0fly Aug 26, 2023
8812673
Even more fixes
skyss0fly Aug 26, 2023
ef54f9c
Bunch more fixes
skyss0fly Aug 26, 2023
453d2c8
More fixes
skyss0fly Aug 26, 2023
aef32c5
Linting time is fun
skyss0fly Aug 26, 2023
a005a20
Update essentialsTP.php
skyss0fly Aug 26, 2023
c39ca47
Update essentialsTP.php
skyss0fly Aug 26, 2023
f703252
Update essentialsTP.php
skyss0fly Aug 26, 2023
30822a0
Hooray common linting issues are gone
skyss0fly Aug 27, 2023
a2bf40a
Update essentialsTP.php
skyss0fly Aug 27, 2023
2f29a55
Could remove a lint
skyss0fly Aug 27, 2023
ed999dd
Maybe?
skyss0fly Aug 27, 2023
99b0e49
No lints? Please
skyss0fly Aug 27, 2023
47d734f
No lints? Hopefully
skyss0fly Aug 27, 2023
ab2b978
Update plugin.yml
skyss0fly Aug 27, 2023
632fde0
Update README.md
skyss0fly Aug 28, 2023
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
5 changes: 3 additions & 2 deletions .poggit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/poggit-orphanage/essentialsTP
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/skyss0fly/essentialsTP
build-by-default: true
branches:
- master
projects:
essentialsTP:
path: ""
icon: essentialstp.png
icon: "essentialstp.png"
...
216 changes: 216 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,218 @@
# essentialsTP
EssentialsTP by ServerKart_Rod
-------
# Overview:
Welcome to EssentialsTP.

# Offers:
This plugin Will provide you with the essentiality in essentialstp. you can warp. set spawn, tpa. Just like the original EssentialTP But updated:)
# Credits:
- Creator: ServerKart_Rod
- Updated by: poggit-orphanage to pm3
- Updated by: skyss0fly to pm4 and pm5

# Configuration:
to add permissions to a user you will need to use a permission manager:
Examples:
- [LunarRanks](https://poggit.pmmp.io/p/LunarRanks)
- [RankSystem](https://poggit.pmmp.io/p/RankSystem)
- [PurePerms](https://poggit.pmmp.io/p/PurePerms)

# Config:
```
---
plugin-name: essentalsTp+
sqlite-dbname: essentials_tp
tpa-here-cooldown: "30"
tp-home-cooldown: "5"
tp-warp-cooldown: "5"
tp-spawn-cooldown: "5"
MOTD: Welcome to this awsome plugin showcase was hell for the first day but hey lol
wild-MaxX: "300"
wild-MaxY: "300"
bed-sets-home: "true"
Lang_invalid_usage: 'INVALID USAGE:'
Lang_command_only_use_ingame: This command can only be used in the game.
Lang_no_permissions: '[EssentialsTP] No permission.'
Lang_teleport_home: Teleported you home.
Lang_teleport_spawn: Teleported you to spawn.
Lang_teleport_wild: Teleported you some where wild.
Lang_teleport_death: Teleported to last death cords.
Lang_no_spawn_set: No spawn point set for this world.... Using original world spawn.
Lang_teleport_spawn_original: Teleported you to worlds original spawn.
Lang_spawn_set: Spawn set.
Lang_your_homes: 'Your Homes:'
Lang_no_home_set: You have not yet set a home.
Lang_no_home_name: You do not have a home by that name.
Lang_home_set: Home set as
Lang_home_delete_1: 'Home named:'
Lang_home_delete_2: has been deleted.
Lang_no_teleport_self: You cant teleport to your self.
Lang_player_not_online: Player is not online.
Lang_sent_request_you: sent a request to teleport to you.
Lang_sent_request_them: sent a request to you, to teleport to them.
Lang_accept_request: to accept this request.
Lang_decline_request: to decline this request.
Lang_request_expire_1: This request is only good for
Lang_request_expire_2: Seconds
Lang_request_expire_3: before it expires.
Lang_type: Type
Lang_no_active_request: No active request exist.
Lang_warps: 'Warps:'
Lang_no_warps: This server has no warps.
Lang_no_warp_listed: There is no warp by that name listed.
Lang_warp_set: Warp set as
Lang_warp_to: You warped to
Lang_warp_delete_1: 'Warp named:'
Lang_warp_delete_2: has been deleted.
Lang_no_warps_name: No Warps matching that name for this server.
Land_chunk_not_loaded: Could not load chunk It's not safe to teleport.
Lang_action_cooldown: This action is on cooldown.
Lang_no_death: Die already please.
...
```

# Commands:
The following commands are:
```
- home:
description: Teleports you home /home will list homes /home <homename> will teleport you.
usage: "/home or /home <homename>"
permission: essentialstp.command.home
- sethome:
description: Sets your home, use names for multiple homes.
usage: "/sethome <homename>"
permission: essentialstp.command.sethome
- delhome:
description: Delete your selected home.
usage: "/delhome <homename>"
permission: essentialstp.command.delhome
- back:
description: Teleports you to your last known death location.
usage: "/back"
permission: essentialstp.command.back
- wild:
description: Teleport to a random location in the world.
usage: "/wild"
permission: essentialstp.command.wild
- setspawn:
description: Sets world spawn point.
usage: "/setspawn"
permission: essentialstp.command.setspawn
- spawn:
description: Teleports to world spawn point.
usage: "/spawn"
permission: essentialstp.command.spawn
- warp:
description: Warps you to a location /warp will list warps /warp <warpname> will teleport you.
usage: "/warp or /warp <warpname>"
permission: essentialstp.command.tpahere
- setwarp:
description: Sets a warp location.
usage: "/setwarp <warpname>"
permission: essentialstp.command.setwarp
- delwarp:
description: Delete a warp location.
usage: "/delwarp <warpname>"
permission: essentialstp.command.delwarp
- tpa:
description: Send teleport request to player to teleport you to player.
usage: "/tpa <player>"
permission: essentialstp.command.tpa
- tpahere:
description: Send teleport request to teleport player to you.
usage: "/tpahere <player>"
permission: essentialstp.command.tpahere
- tpaccept:
description: Accept a teleport request.
usage: "/tpaccept"
permission: essentialstp.command.tpaccept
- tpdeny:
description: decline all active teleport requests.
usage: "/tpdeny"
permission: essentialstp.command.tpdeny

```
- *also shown in* `plugin.yml`
# Permissions:
```
- essentialstp.*:
default: op
description: "Allows all essentialsTP commands"
- essentialstp.command.*:
description: "Allows player to use commands"
default: op
- essentialstp.command.tpdeny:
description: "Allows player to decline request"
default: true
- essentialstp.command.tpaccept:
description: "Allows player to accept request"
default: true
- essentialstp.command.tpahere:
description: "Allows player to teleport player to them"
default: true
- essentialstp.command.tpa:
description: "Allows player to teleport to another player"
default: true
- essentialstp.command.delwarp:
description: "Allows player to delete warps"
default: op
- essentialstp.command.setwarp:
description: "Allows player to set warps"
default: op
- essentialstp.command.warp:
description: "Allows player use warps"
default: true
- essentialstp.command.setspawn:
description: "Allows player to set spawn for world"
default: op
- essentialstp.command.spawn:
description: "Allows player use spawn command"
default: true
- essentialstp.command.wild:
description: "Allows player to teleport to a random location in world"
default: true
- essentialstp.command.back:
description: "Allows player go back to their last death location"
default: true
- essentialstp.command.delhome:
description: "Allows player to delete their homes"
default: true
- essentialstp.command.sethome:
description: "Allows player to set their homes"
default: true
- essentialstp.command.home:
description: "Allows player to use the home command"
default: true
- essentialstp.command.bedsethome:
description: "Allows player to set home with their bed"
default: true
- essentialstp.command.sign.warp:
description: "Allows player to use warp signs"
default: true
- essentialstp.command.sign.wild:
description: "Allows player to use wild signs"
default: op
- essentialstp.command.sign.spawn:
description: "Allows player to use spawn signs"
default: true
- essentialstp.command.sign.warp.create:
description: "Allows player to create warp signs"
default: op
- essentialstp.command.sign.wild.create:
description: "Allows player to create wild signs"
default: op
- essentialstp.command.sign.spawn.create:
description: "Allows player to create spawn signs"
default: op
- essentialstp.command.sign.warp.break:
description: "Allows player to break warp signs"
default: op
- essentialstp.command.sign.wild.break:
description: "Allows player to break wild signs"
default: op
- essentialstp.command.sign.spawn.break:
description: "Allows player to break spawn signs"
default: op
```
- *also seen in* `plugin.yml`
63 changes: 31 additions & 32 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: essentialsTP
main: essentialsTP\essentialsTP
version: 1.2.2
api: [3.0.0]
main: skyss0fly\essentialsTP\essentialsTP
version: 1.2.4
api: 5.0.0
extensions: [sqlite3]
author: skyss0fly
commands:
home:
description: Teleports you home /home will list homes /home <homename> will teleport you.
Expand Down Expand Up @@ -64,80 +65,78 @@ permissions:
essentialstp.*:
default: op
description: "Allows all essentialsTP commands"
children:
essentialstp.command.*:
description: "Allows player to use commands"
default: op
children:
essentialstp.command.tpdeny:
essentialstp.command.*:
description: "Allows player to use commands"
default: op
essentialstp.command.tpdeny:
description: "Allows player to decline request"
default: true
essentialstp.command.tpaccept:
essentialstp.command.tpaccept:
description: "Allows player to accept request"
default: true
essentialstp.command.tpahere:
essentialstp.command.tpahere:
description: "Allows player to teleport player to them"
default: true
essentialstp.command.tpa:
essentialstp.command.tpa:
description: "Allows player to teleport to another player"
default: true
essentialstp.command.delwarp:
essentialstp.command.delwarp:
description: "Allows player to delete warps"
default: op
essentialstp.command.setwarp:
essentialstp.command.setwarp:
description: "Allows player to set warps"
default: op
essentialstp.command.warp:
essentialstp.command.warp:
description: "Allows player use warps"
default: true
essentialstp.command.setspawn:
essentialstp.command.setspawn:
description: "Allows player to set spawn for world"
default: op
essentialstp.command.spawn:
essentialstp.command.spawn:
description: "Allows player use spawn command"
default: true
essentialstp.command.wild:
essentialstp.command.wild:
description: "Allows player to teleport to a random location in world"
default: true
essentialstp.command.back:
essentialstp.command.back:
description: "Allows player go back to their last death location"
default: true
essentialstp.command.delhome:
essentialstp.command.delhome:
description: "Allows player to delete their homes"
default: true
essentialstp.command.sethome:
essentialstp.command.sethome:
description: "Allows player to set their homes"
default: true
essentialstp.command.home:
essentialstp.command.home:
description: "Allows player to use the home command"
default: true
essentialstp.command.bedsethome:
essentialstp.command.bedsethome:
description: "Allows player to set home with their bed"
default: true
essentialstp.command.sign.warp:
essentialstp.command.sign.warp:
description: "Allows player to use warp signs"
default: true
essentialstp.command.sign.wild:
essentialstp.command.sign.wild:
description: "Allows player to use wild signs"
default: op
essentialstp.command.sign.spawn:
essentialstp.command.sign.spawn:
description: "Allows player to use spawn signs"
default: true
essentialstp.command.sign.warp.create:
essentialstp.command.sign.warp.create:
description: "Allows player to create warp signs"
default: op
essentialstp.command.sign.wild.create:
essentialstp.command.sign.wild.create:
description: "Allows player to create wild signs"
default: op
essentialstp.command.sign.spawn.create:
essentialstp.command.sign.spawn.create:
description: "Allows player to create spawn signs"
default: op
essentialstp.command.sign.warp.break:
essentialstp.command.sign.warp.break:
description: "Allows player to break warp signs"
default: op
essentialstp.command.sign.wild.break:
essentialstp.command.sign.wild.break:
description: "Allows player to break wild signs"
default: op
essentialstp.command.sign.spawn.break:
essentialstp.command.sign.spawn.break:
description: "Allows player to break spawn signs"
default: op
Loading