Data Packs Mini-game

Player Swap

  • 8.1k views 6 today
  • save_alt 910 downloads
Compatibility
Minecraft 1.21
Changes include
    • 16
    • 16
    • 7
    Keebsz
    Lvl 49Master Vampire
    30
    Player Swap

    Description:
    Swap places with a player every so often. There is a chance for the swappage to be dismissed so be careful what you do. Supports any number of players. The time it take for a swap is every 30 minutes(36,000 ticks) by default. This can be changed by command.

    Please report any issues.


    Functions:
    Start Game:
    /player_swap:start

    Swap Instantly:
    /player_swap:instantly

    Change Time:
    /scoreboard players set TimerSet PlayerSwap.Main (NUMBER IN TICKS)


    Uninstall Datapack:
    /player_swap:uninstall

    1 Update Logs

    Update #1 : by Keebsz 10/12/2024 3:01:27 pmOctober 12, 2024 @ 7:01 pm UTC

    - Updated to 1.21.1
    - Cleaned code.
    - Better performance.
    - Supports any number of players.

    More like this

      Have something to say?

    MegOr1da
    09/06/2025 3:15 pm
    Level 1 : New Miner
    where to throw this datapack
    1
    User5517505G
    12/29/2024 2:09 pm
    Level 1 : New Miner
    is there any way to disable dismisses?
    2
    Keebsz
    01/01/2025 10:26 pm
    He/Him • Level 49 : Master Vampire
    history
    If you open the datapack, in the tick.json file change line 8 where it says...
    #RNG:execute if score Timer PlayerSwap.Main matches 100 store result score RandomNumber PlayerSwap.Main run random value 1..4
    to



    #RNG:execute if score Timer PlayerSwap.Main matches 100 store result score RandomNumber PlayerSwap.Main run random value 2..4

    when the random number is 1 thats when the swap gets dismissed

    1
    OrderOutOfChaos
    12/31/2022 10:57 am
    Level 38 : Artisan Scribe
    Is this like disasters on that one server that died?
    3
    Keebsz
    12/31/2022 6:01 pm
    He/Him • Level 49 : Master Vampire
    Yes it is :)
    3
    OrderOutOfChaos
    12/31/2022 6:07 pm
    Level 38 : Artisan Scribe
    Nice. I need to try this on my server.
    3
    TacoFromTheSky
    12/30/2022 2:50 pm
    Level 16 : Journeyman Taco
    woah seems *so cool*

    chief kiss
    3

    Welcome