Skip to content

CityScape: Build safe cities and protect your territories from all threats!

Notifications You must be signed in to change notification settings

GGNado/CityScape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CityScape

CityScape logo and badges

CityScape

Owner: Naado_

Table of contents

  1. Project description
  2. Who this project is for
  3. Project dependencies
  4. Instructions for using CityScape
  5. Available Commands and Permissions
  6. Contributing guidelines
  7. Additional documentation
  8. How to get help
  9. Terms of use

Project description

CityScape is a plugin that allows players to create and manage their own towns within Minecraft. With CityScape, you can claim land, establish towns, assign roles, and manage permissions for different areas.

Unlike other town management plugins, CityScape gives players granular control over permissions in chunks, enabling a more dynamic experience for building and expanding towns.

Who this project is for

This project is intended for Minecraft server owners and administrators who want to give players the ability to create, manage, and grow towns within their game.

Project dependencies

Before using CityScape, ensure you have:

  • Java 11+
  • Minecraft server running on Paper/Spigot
  • PlaceHolderAPI (Optional)
  • Dynmap (Optional but Recommended)

Using PlaceholderAPI with CityScape

CityScape integrates with PlaceholderAPI to allow dynamic placeholders that can display information about towns, their gold balance, claimed regions, and citizens. Placeholders are useful for setting up scoreboards, holograms, and other dynamic in-game displays.

Available placeholders

Here is a list of the available placeholders from CityScape:

Placeholder Description Example Output
%CityScape_town% Displays the player's current town name. Empire City
%CityScape_first_bank% Shows the town with the highest gold balance. Golden Town: 2500 gold
%CityScape_second_bank% Shows the town with the second highest gold balance. Silver City: 1500 gold
%CityScape_third_bank% Shows the town with the third highest gold balance. Bronze Ville: 1000 gold
%CityScape_first_regions_claimed% Displays the town with the most regions claimed. Empire City: 10 regions
%CityScape_second_regions_claimed% Displays the town with the second most regions claimed. Golden Town: 8 regions
%CityScape_third_regions_claimed% Displays the town with the third most regions claimed. Silver City: 7 regions
%CityScape_first_citizens% Shows the town with the most citizens. Empire City: 20 citizens
%CityScape_second_citizens% Shows the town with the second most citizens. Golden Town: 15 citizens
%CityScape_third_citizens% Shows the town with the third most citizens. Silver City: 10 citizens

Instructions for using CityScape

Get started with CityScape by installing the plugin on your Minecraft server and configuring the town management options.


Available Commands and Permissions

This section lists all the commands available in CityScape, along with details on who is authorized to use each command based on their role (e.g., Mayor, Co-Mayor, Citizen).

Command Description Role Required
/town create <name> Creates a new town with the specified name. Mayor
/town claim Claims a chunk of land for your town. Mayor or Co-Mayor
/town list Lists all towns on the server. Any Player
/town info Displays detailed information about your current town. Any Player in a Town
/town deposit <amount> Deposits gold into your town's bank. Any Player in a Town
/town set spawn Sets the town's spawn location. Mayor or Co-Mayor
/town set public Toggles public access to the town's spawn. Mayor or Co-Mayor
/town set cost <amount> Sets the cost for players to teleport to the town's spawn. Mayor or Co-Mayor
/town set pvp Toggles PvP permission in the current chunk. Mayor or Co-Mayor
/town set build Toggles build permissions in the current chunk. Mayor or Co-Mayor
/town set break Toggles block-breaking permissions in the current chunk. Mayor or Co-Mayor
/town set open_chest Toggles the ability to open chests in the current chunk. Mayor or Co-Mayor
/town set use_furnace Toggles the ability to use furnaces in the current chunk. Mayor or Co-Mayor
/town set use_crafting_table Toggles the ability to use crafting tables in the chunk. Mayor or Co-Mayor
/town set farm Toggles farming permissions in the current chunk. Mayor or Co-Mayor
/town set interact_door Toggles the ability to interact with doors in the chunk. Mayor or Co-Mayor
/town set interact_button Toggles the ability to interact with buttons in the chunk. Mayor or Co-Mayor
/town infoc Displays region information for the current chunk. Any Player
/town spawn Teleports the player to the town's spawn location. Any Player in a Town

Command Permissions Breakdown

  • Mayor: Full permissions to manage the town, including creating, claiming land, setting permissions, and managing town settings.
  • Co-Mayor: Similar to the Mayor, with some administrative rights such as setting spawn, adjusting town settings, and toggling permissions for the town's regions.
  • Citizen: Can deposit gold, access basic town information, and perform general tasks within town limits, but cannot modify town settings or claim land.
  • Any Player: Commands that can be executed by any player, regardless of their affiliation with a town.

Install CityScape

  1. Download the CityScape plugin from {(link to download)}.

    Place the downloaded .jar file into your Minecraft server's plugins folder.

  2. Restart your Minecraft server to load the plugin.

    After the restart, you should see CityScape listed among your active plugins.

  3. Configure the plugin to fit your server's needs.

    Check the config.yml file in the CityScape plugin folder to adjust the settings.

Configure CityScape

  1. Open the config.yml file located in the plugins/CityScape folder.

  2. Adjust the settings for town creation costs, permission defaults, and chunk management options.

  3. Save the file and run the command /town reload to apply changes without restarting the server.

Run CityScape

  1. Start by creating your first town using /town create <town_name>.

  2. Claim land for your town with /town claim.

  3. Manage town settings and permissions by using commands such as /town set <option>.

Troubleshoot CityScape

If you encounter issues with the plugin, try these common solutions:

Issue Solution
Town cannot claim chunk Ensure the chunk is not already claimed.
Player cannot interact in claimed area Verify permission settings for the specific chunk.
Cannot set town spawn location Use /town set spawn within your town's claimed area.

Other troubleshooting supports:

  • [Link to FAQs]
  • [Link to runbooks]
  • [Link to additional support documentation]

Contributing guidelines

We welcome contributions! Please follow the contributing guidelines outlined in CONTRIBUTING.md for detailed instructions on how to fork the repository, make changes, and submit pull requests.

Additional documentation

For more information:

How to get help

If you need help with CityScape, refer to the following resources:

Terms of use

CityScape is licensed under the MIT License. For more details, see the LICENSE file.

About

CityScape: Build safe cities and protect your territories from all threats!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages