modified: app.py

new file:   projekte des/SimpleTeleport.md
	modified:   templates/project_detail.html
	modified:   templates/projects.html
This commit is contained in:
SimolZimol
2025-11-11 20:50:23 +01:00
parent 97000b3932
commit dfe19266bf
4 changed files with 247 additions and 3 deletions

108
app.py
View File

@@ -23,11 +23,21 @@ def home():
'type': 'Minecraft Plugin', 'type': 'Minecraft Plugin',
'description': 'Closed-source progression plugin with item leveling and augmentations.', 'description': 'Closed-source progression plugin with item leveling and augmentations.',
'technologies': ['Java', 'Spigot', 'Paper'], 'technologies': ['Java', 'Spigot', 'Paper'],
'status': ' Beta', 'status': 'Active',
'url': '/projects/levelcraft', 'url': '/projects/levelcraft',
'icon': 'fas fa-chart-line', 'icon': 'fas fa-chart-line',
'color': 'minecraft' 'color': 'minecraft'
}, },
{
'name': 'SimpleTeleport',
'type': 'Minecraft Plugin',
'description': 'Comprehensive teleportation plugin with homes, warps, spawn, and back commands.',
'technologies': ['Java', 'Spigot', 'Paper'],
'status': 'Active',
'url': '/projects/simpleteleport',
'icon': 'fas fa-location-arrow',
'color': 'minecraft'
},
{ {
'name': 'Hearts of Iron IV ELO Bot', 'name': 'Hearts of Iron IV ELO Bot',
'type': 'Discord Bot', 'type': 'Discord Bot',
@@ -78,6 +88,7 @@ def projects():
'icon': 'fas fa-paper-plane', 'icon': 'fas fa-paper-plane',
'color': 'minecraft', 'color': 'minecraft',
'links': { 'links': {
'hangar': 'https://hangar.papermc.io/SimolZimol/Flysystem',
'modrinth': 'https://modrinth.com/plugin/fly-simolzimol/', 'modrinth': 'https://modrinth.com/plugin/fly-simolzimol/',
'spigot': 'https://www.spigotmc.org/resources/fly.83164/' 'spigot': 'https://www.spigotmc.org/resources/fly.83164/'
} }
@@ -95,6 +106,24 @@ def projects():
'color': 'minecraft', 'color': 'minecraft',
'links': {} 'links': {}
}, },
{
'name': 'SimpleTeleport',
'type': 'Minecraft Plugin',
'description': 'Comprehensive teleportation plugin with homes, warps, spawn, and back commands.',
'long_description': 'SimpleTeleport provides essential teleportation features for Minecraft servers. Set homes, create warps, manage spawn points, and teleport back to previous locations with an intuitive command system.',
'technologies': ['Java', 'Spigot', 'Paper', 'Bukkit'],
'status': 'Active',
'version': '1.0',
'downloads': 'Available',
'url': '/projects/simpleteleport',
'icon': 'fas fa-location-arrow',
'color': 'minecraft',
'links': {
'hangar': 'https://hangar.papermc.io/SimolZimol/SimpleTeleport',
'spigot': 'https://www.spigotmc.org/resources/simpleteleport.130115/',
'modrinth': 'https://modrinth.com/plugin/simpleteleports'
}
},
{ {
'name': 'Hearts of Iron IV ELO Bot', 'name': 'Hearts of Iron IV ELO Bot',
'type': 'Discord Bot', 'type': 'Discord Bot',
@@ -163,6 +192,14 @@ def minecraft():
'supported_versions': '1.21.x', 'supported_versions': '1.21.x',
'downloads': 'Open Beta (Server)', 'downloads': 'Open Beta (Server)',
'url': '/projects/levelcraft' 'url': '/projects/levelcraft'
},
{
'name': 'SimpleTeleport',
'description': 'Comprehensive teleportation with homes, warps, and spawn',
'version': '1.0',
'supported_versions': '1.19 - 1.21',
'downloads': 'Available',
'url': '/projects/simpleteleport'
} }
] ]
@@ -312,6 +349,7 @@ def fly_plugin():
} }
], ],
'links': { 'links': {
'hangar': 'https://hangar.papermc.io/SimolZimol/Flysystem',
'modrinth': 'https://modrinth.com/plugin/fly-simolzimol/', 'modrinth': 'https://modrinth.com/plugin/fly-simolzimol/',
'spigot': 'https://www.spigotmc.org/resources/fly.83164/', 'spigot': 'https://www.spigotmc.org/resources/fly.83164/',
'github': 'https://github.com/SimolZimol/', 'github': 'https://github.com/SimolZimol/',
@@ -501,6 +539,74 @@ def levelcraft():
} }
return render_template('project_detail.html', project=project) return render_template('project_detail.html', project=project)
@app.route('/projects/simpleteleport')
def simpleteleport():
"""Detailed page for SimpleTeleport"""
project = {
'name': 'SimpleTeleport',
'tagline': 'Complete teleportation solution for Minecraft servers',
'description': 'A comprehensive and lightweight teleportation plugin providing essential teleport features with an intuitive command system and full permission control.',
'long_description': (
'SimpleTeleport is designed to be lightweight and efficient while providing all essential teleportation features your server needs. '
'Set homes, create warps, manage spawn points, and teleport back to previous locations - all with extensive configuration options and customizable messages. '
'Perfect for survival servers, minigame servers, or any server that wants reliable teleportation without complexity.'
),
'version': '1.0',
'status': 'Active',
'compatibility': '1.19 - 1.21',
'server_types': ['Spigot', 'Paper', 'Bukkit'],
'technologies': ['Java', 'Spigot API', 'Paper API', 'Bukkit API'],
'features': [
'Complete home system with configurable limits per player',
'Server-wide warp system for public teleport points',
'Spawn management with first-join and death respawn options',
'Back command to return to your last location',
'Comprehensive permission system for fine-grained access control',
'Full configuration with customizable messages and placeholders',
'Color code support with & codes',
'YAML-based data storage for easy backup and transfer',
'Teleport delays with optional movement/damage cancellation',
'Economy integration support (Vault) with configurable costs',
'Command cooldowns to prevent spam'
],
'commands': [
{'command': '/sethome', 'description': 'Set your personal home location', 'permission': 'SimpleTeleport.sethome'},
{'command': '/home', 'description': 'Teleport to your home', 'permission': 'SimpleTeleport.home'},
{'command': '/home <player>', 'description': 'Teleport to another player\'s home', 'permission': 'SimpleTeleport.home.others'},
{'command': '/warp <name>', 'description': 'Teleport to a warp point', 'permission': 'SimpleTeleport.warp'},
{'command': '/setwarp <name>', 'description': 'Create a new warp point', 'permission': 'SimpleTeleport.setwarp'},
{'command': '/warps', 'description': 'List all available warps', 'permission': 'SimpleTeleport.warps'},
{'command': '/spawn', 'description': 'Teleport to the server spawn', 'permission': 'SimpleTeleport.spawn'},
{'command': '/spawn set', 'description': 'Set the server spawn location', 'permission': 'SimpleTeleport.setspawn'},
{'command': '/back', 'description': 'Teleport to your last location', 'permission': 'SimpleTeleport.back'}
],
'technical_highlights': [
'Configurable teleport delays with countdown messages',
'Optional cancellation on player movement or damage',
'Maximum homes per player with world restrictions',
'First-join and death respawn spawn options',
'Death location saving for /back command',
'Economy costs for homes, warps, and spawn (requires Vault)',
'Command cooldowns with configurable timers',
'Placeholder support: {player}, {warp}, {location}',
'Human-readable YAML data storage'
],
'links': {
'hangar': 'https://hangar.papermc.io/SimolZimol/SimpleTeleport',
'spigot': 'https://www.spigotmc.org/resources/simpleteleport.130115/',
'modrinth': 'https://modrinth.com/plugin/simpleteleports'
},
'installation': [
'Download the latest JAR from Hangar, Spigot, or Modrinth',
'Place the JAR into your server plugins/ folder',
'Start the server to generate config.yml and messages.yml',
'Configure settings in config.yml (teleport delays, home limits, etc.)',
'Customize messages in messages.yml with color codes',
'Reload the server or use /reload to apply changes'
]
}
return render_template('project_detail.html', project=project)
if __name__ == '__main__': if __name__ == '__main__':
# Allow overriding via environment (e.g., Coolify sets PORT) # Allow overriding via environment (e.g., Coolify sets PORT)
port = int(os.getenv('PORT', '5000')) port = int(os.getenv('PORT', '5000'))

View File

@@ -0,0 +1,128 @@
SimpleTeleport is a comprehensive and lightweight teleportation plugin that provides essential teleport features for your Minecraft server. Set homes, create warps, manage spawn points, and teleport back to previous locations - all with an intuitive command system and full permission control.
**What's Included in Version 1.0:**
- Complete home system allowing players to set and teleport to their personal homes
- Server-wide warp system for admins to create public teleport points
- Spawn management with customizable spawn behavior
- Back command to return to your last location
- Comprehensive permission system for fine-grained access control
- Full configuration system with customizable messages
- Color code support with & codes
- Placeholder support for dynamic messages ({player}, {warp}, {location})
- YAML-based data storage for homes, warps, and spawn
- Clean and organized file structure
**Commands:**
/sethome - Set your personal home location
/home - Teleport to your home
/home <player> - Teleport to another player's home (requires permission)
/warp <name> - Teleport to a warp point
/setwarp <name> - Create a new warp point
/warps - List all available warps
/spawn - Teleport to the server spawn
/spawn set - Set the server spawn location
/back - Teleport to your last location
**Permissions:**
SimpleTeleport.* - Access to all plugin commands
SimpleTeleport.sethome - Allows setting your home
SimpleTeleport.home - Allows teleporting to your home
SimpleTeleport.home.others - Allows teleporting to other players' homes
SimpleTeleport.warp - Allows using warps
SimpleTeleport.setwarp - Allows creating warps
SimpleTeleport.warps - Allows listing warps
SimpleTeleport.spawn - Allows teleporting to spawn
SimpleTeleport.setspawn - Allows setting the spawn point
SimpleTeleport.back - Allows using the back command
**Configuration Options (config.yml):**
```
teleportation:
delay: 3 # Teleport delay in seconds
cancel-on-move: true # Cancel teleport if player moves
cancel-on-damage: true # Cancel teleport if player takes damage
countdown-messages: true # Show countdown messages
homes:
max-homes: 1 # Maximum homes per player (-1 for unlimited)
allowed-worlds: [] # Restrict homes to specific worlds
spawn:
teleport-on-first-join: false # Teleport new players to spawn
teleport-on-death: false # Teleport players to spawn on death
back:
save-location-on-death: true # Save death location for /back
economy:
enabled: false # Enable economy features (requires Vault)
home-set-cost: 0.0
home-teleport-cost: 0.0
warp-cost: 0.0
cooldowns:
enabled: false # Enable command cooldowns
home: 60
warp: 30
spawn: 30
back: 120
```
**Message Customization (messages.yml):**
```
prefix: "&8[&6SimpleTeleport&8]&r "
home-set: "&aHome successfully set!"
home-teleport: "&aTeleported to your home!"
warp-teleport: "&aTeleported to warp &6{warp}&a!"
spawn-teleport: "&aTeleported to spawn!"
back-teleport: "&aTeleported to your last location!"
```
**Features in Detail:**
**Home System:**
- Players can set their personal home location
- Configurable maximum number of homes per player
- Option to restrict home setting to specific worlds
- Teleport to other players' homes with proper permissions
**Warp System:**
- Admins create public warp points accessible to all players
- Easy-to-use warp list command
- Prevents duplicate warp names
- Supports warps across different worlds
**Spawn Management:**
- Set a global spawn point for the server
- Optional teleportation to spawn on first join
- Optional respawn at spawn instead of bed
- Simple /spawn command for quick access
**Back Command:**
- Remembers your last location before teleportation
- Optional saving of death locations
- Configurable to remember multiple previous locations
- Works after any teleport command
**Data Storage:**
- All data stored in YAML format
- Separate files for homes, warps, and spawn
- Easy to backup and transfer
- Human-readable and editable
**Supported Minecraft Versions:**
1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.4, 1.20.6, 1.21
The plugin is designed to be lightweight and efficient while providing all essential teleportation features your server needs. Perfect for survival servers, minigame servers, or any server that wants reliable teleportation without complexity.
**Planned Features for Future Updates:**
- Economy integration with configurable costs
- Command cooldowns to prevent spam
- Multiple homes per player with named homes
- Warp categories and GUI
- Teleport request system (/tpa)
- Random teleport feature
- Warmup countdown with action bar messages
Just send me a message on Discord if you have any questions, suggestions, or requests for new features!

View File

@@ -38,8 +38,8 @@
</div> </div>
<div class="project-hero-actions"> <div class="project-hero-actions">
{% for link_name, link_url in project.links.items() %} {% for link_name, link_url in project.links.items() %}
{% if link_name in ['modrinth', 'spigot', 'github'] %} {% if link_name in ['modrinth', 'spigot', 'github', 'hangar'] %}
<a href="{{ link_url }}" target="_blank" class="btn btn-primary"> <a href="{{ link_url }}" target="_blank" class="btn btn-primary">
{% if link_name == 'github' %} {% if link_name == 'github' %}
<i class="fab fa-github"></i> GitHub <i class="fab fa-github"></i> GitHub
@@ -47,6 +47,8 @@
<i class="fas fa-cube"></i> Modrinth <i class="fas fa-cube"></i> Modrinth
{% elif link_name == 'spigot' %} {% elif link_name == 'spigot' %}
<i class="fas fa-plug"></i> SpigotMC <i class="fas fa-plug"></i> SpigotMC
{% elif link_name == 'hangar' %}
<i class="fas fa-book-open"></i> Hangar
{% endif %} {% endif %}
</a> </a>
{% endif %} {% endif %}
@@ -134,6 +136,8 @@
<i class="fas fa-cube"></i> <i class="fas fa-cube"></i>
{% elif link_name == 'spigot' %} {% elif link_name == 'spigot' %}
<i class="fas fa-plug"></i> <i class="fas fa-plug"></i>
{% elif link_name == 'hangar' %}
<i class="fas fa-book-open"></i>
{% elif link_name == 'discord' %} {% elif link_name == 'discord' %}
<i class="fab fa-discord"></i> <i class="fab fa-discord"></i>
{% elif link_name == 'wiki' %} {% elif link_name == 'wiki' %}
@@ -250,6 +254,8 @@
<i class="fas fa-cube"></i> <i class="fas fa-cube"></i>
{% elif link_name == 'spigot' %} {% elif link_name == 'spigot' %}
<i class="fas fa-plug"></i> <i class="fas fa-plug"></i>
{% elif link_name == 'hangar' %}
<i class="fas fa-book-open"></i>
{% elif link_name == 'discord' %} {% elif link_name == 'discord' %}
<i class="fab fa-discord"></i> <i class="fab fa-discord"></i>
{% else %} {% else %}
@@ -270,6 +276,8 @@
Download from Modrinth platform Download from Modrinth platform
{% elif link_name == 'spigot' %} {% elif link_name == 'spigot' %}
Download from SpigotMC resources Download from SpigotMC resources
{% elif link_name == 'hangar' %}
Download from PaperMC Hangar platform
{% elif link_name == 'discord' %} {% elif link_name == 'discord' %}
Join the community or access the bot where it is available Join the community or access the bot where it is available
{% else %} {% else %}

View File

@@ -82,6 +82,8 @@
<i class="fas fa-cube"></i> <i class="fas fa-cube"></i>
{% elif link_name == 'spigot' %} {% elif link_name == 'spigot' %}
<i class="fas fa-plug"></i> <i class="fas fa-plug"></i>
{% elif link_name == 'hangar' %}
<i class="fas fa-book-open"></i>
{% elif link_name == 'discord' %} {% elif link_name == 'discord' %}
<i class="fab fa-discord"></i> <i class="fab fa-discord"></i>
{% else %} {% else %}