•  
Welcome, Guest. Please login or register.

News:


Author Topic: Gitto's Clan System & World System (With Objects)  (Read 6400 times)

Offline gito baloch

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Gitto's Clan System & World System (With Objects)
« on: August 17, 2024, 01:45:16 pm »
Hello everyone! I've been learning about loops, variables, and arrays, and as a practice exercise, I've developed a Clan System. I've uploaded the code on GitHub, and you can access it using the following link: https://github.com/sibghatcodez/-VCMP-ClanSystem

To get started, please follow the instructions provided in the 'essentials.nut' file. By following those instructions, the code should function correctly.

Here's a list of commands available for Clan Members:

  • /createclan: Create a new clan.
  • /accept: Accept an invitation to join a clan.
  • /clanchat (or /cc): Chat with other clan members.
  • /leaveclan: Leave your current clan.
  • /clans: View a list of all clans.
  • /clan: View information about your current clan.
  • /clanmembers: View a list of members in your clan.
  • /ranks: View the ranks available in your clan.
  • /request: Send a request to join a clan.

For Clan Owners, additional commands are available:
  • /invite: Invite a player to join your clan.
  • /kick: Remove a member from your clan.
  • /giveclancash: Give clan cash to a member.
  • /setdefrank: Set the default rank for new clan members.
  • /addrank: Add a new rank to your clan.
  • /delrank: Delete an existing rank from your clan.
  • /setrank: Set a member's rank in the clan.
  • /transferownership: Transfer ownership of the clan to another member.
  • /setting: Adjust various settings for your clan. (teamID, skinID, enable/disable Tags)
  • /acceptrequest: Accept pending join requests.
  • /deleteclan (or /delclan): Delete your clan.


--> If you encounter any bugs or have any questions, feel free to reach out to me on Discord. I'm usually online and active.


Here are some screenshots of the Clan System in action.









World System

Hello everyone!

On the request of a very special friend, I developed this World System in Squirrel for one last time. You can find the code on https://github.com/sibghatcodez/-VCMP-Snippets/blob/main/World%20System.nut

Important Note: World 1 cannot be bought or mapped; it's the main world.

World System Commands:

  • /gotoworld: <world_id> - Teleports you to the specified world by its ID (1-1000).
  • /buyworld: <world_id> - Purchases the specified world by its ID.
  • /sellworld: <world_id> - Sells the specified world by its ID.
  • /shareworld: <player_id> - Shares the world with the specified player.
  • /delshareworld: <player_id> - Removes sharing permissions for the specified world (1-1000).
  • /myworlds: - Lists all the worlds you own.
  • /sharedworlds: - Lists all the worlds shared with you.
  • /world: <world_id> - Displays information about the specified world (1-1000).
  • /addobject: <world_id> - Adds an object to the specified world.
  • /objects: <world_id> - Lists all objects in the current world.
  • /setworldname: <world_id> <name> - Sets the name of the specified world (1-1000).



Credits: Doomkiller for his map editor.

As I step away from VCMP, I’m leaving behind a part of my heart with the incredible memories made in Viceland and VFS with my CF and R2X family. 'Every goodbye brings us closer to a new hello,' but this one feels especially hard. I’ll miss you all more than words can express.

Regards,
Yours truly,
gito aka Sibghat al Baloshi
« Last Edit: August 17, 2024, 01:49:42 pm by gito baloch »