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

How to disable the kits completely and enable the leave items work with command? #286

Open
AdoboMC opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@AdoboMC
Copy link

AdoboMC commented Jan 8, 2025

Problem
I wanted to disable all the kits from the menu, but the thing it just return back to default.

What I have tried
I have tried on adding .X on the /kits yml configs, .yml.X and I was expecting it would be disable but the plugin generated it back, you can read my discord question support by clicking here

Screenshot of /kp debug
image

Any additional information (copy of config files, screenshots, videos, etc.)
I have also tried changing the prefix and after doing /kp reload it doesnt work as expected and the prefix still th same, then I can't even right click the Return to Hub even tho I have change the configuration already.

Here is my config.yml;

# To learn more about the options available and their functionality, please
# visit the config.yml documentation on GitHub:
# https://github.com/cervinakuy/KitPvP/wiki/config.yml

Items:
  Kits:
    Enabled: true
    Name: '&aKit Selector &7(Right Click)'
    Material: CHEST
    Slot: 0
    Menu: true
    Commands: []
  Leave:
    Enabled: true
    Name: '&aReturn to Hub &7(Right Click)'
    Material: WATCH
    Slot: 8
    BungeeCord:
      Server: Hub
      Enabled: false
    Commands:
    - 'console: spawn %player%'
Chat:
  Format: '%level% &e%player% &f%message%'
  Enabled: true
Combat:
  HitSound:
    Sound: BLAZE_HIT
    Pitch: 1
    Enabled: true
  ArrowHit:
    Message: '%prefix% &b%player% &7is on &c%health%&7.'
    Enabled: true
  ArrowReturn:
    ItemName: '&eReturnable Arrow'
    NoSpace: '%prefix% &cYou must have at least one slot open in your inventory for
      you to receive your arrow for your successful shot.'
    Enabled: true
    Count: 2
Kill:
  SoupReward:
    NoSpace: '%prefix% &c%amount% soups could not be added to your full inventory.'
    Amount: 1
    Delay: 0
    Enabled: true
  Commands: []
Death:
  Title:
    Title: '&c&lYOU DIED!'
    Subtitle: '&7You will respawn in %seconds% seconds.'
    Time: 5
    Message: '%prefix% &7Respawning...'
  Sound:
    Sound: AMBIENCE_THUNDER
    Pitch: 1
    Enabled: false
  Commands: []
  Messages:
    Player: '%prefix% &b%victim% &7was killed by &b%killer% &7(&c%killer_health%&7).'
    Shot: '%prefix% &b%victim% &7was shot by &b%killer% &7(&c%killer_health%&7).'
    Fall: '%prefix% &b%victim% &7fell to their doom.'
    Void: '%prefix% &b%victim% &7died from the void.'
    Fire: '%prefix% &b%victim% &7died from fire.'
    Explosion: '%prefix% &b%victim% &7blew up.'
    Suicide: '%prefix% &b%victim% &7killed themselves.'
    Unknown: '%prefix% &b%victim% &7died.'
    Enabled: true
Respawn:
  Commands: []
PlayerTracker:
  Name: '&aPlayer Tracker'
  Message: '&b&lTarget: &3%nearestplayer% &b&lDistance: &3%distance%'
  NoneOnline: '&cNo Players Online'
  TrackBelowY: 128
  RefreshOnlyWhenHeld: true
Soups:
  Name: '&aRegenerative Soups &7(Right Click)'
  RegenAmount: 6
  RemoveAfterUse: true
  Lore:
  - '&7Use this item to regain health.'
  Sound: EAT
  Pitch: 1
  Enabled: true
TNT:
  Name: '&aThrowable TNT &7(Right Click)'
  Enabled: true
PreviewMenuBackArrowCommands:
- 'player: kp menu'
Commands:
  Alias:
    Spawn: false
    Kit: false
    Kits: false
    Stats: false
Storage:
  Type: sqlite
  MySQL:
    Host: 127.0.0.1
    Port: 3306
    Database: kitpvp
    Username: root
    Password: password
Arena:
  ClearPotionEffectsOnJoin: true
  ClearInventoryOnJoin: true
  ClearInventoryOnLeave: false
  ClearInventoryOnRespawn: true
  ClearInventoryOnKit: true
  ClearKitOnCommandSpawn: true
  PreventBlockBreaking: true
  PreventBlockPlacing: true
  PreventItemDropping: true
  PreventHunger: true
  PreventItemDurabilityDamage: false
  PreventChestOpen: true
  PreventFallDamage: false
  PreventDeathDrops: true
  PreventArenaSignUseWithKit: true
  KeepWeatherAtSunny: true
  GiveItemsOnClear: true
  GiveItemsOnRespawn: true
  GiveItemsOnJoin: true
  NoKitProtection: true
  FancyDeath: true
  ResetKillStreakOnLeave: true
  ToSpawnOnJoin: true
  DeathParticles: true
  AbilitiesRequireKit: true
  AddOverflowItemsOnKit: true
  DropRemainingOverflowItemsOnKit: true
  ResetMaxHealthOnDeath: true
Other:
  AutomaticallyAddKitToMenu: true
Spawn:
  Time: 3
  Enabled: true
Arenas: []
@AdoboMC AdoboMC added the help wanted Inquiry label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant