Giter Club home page Giter Club logo

reroll's Introduction

Reroll

Reroll is a mod designed to completely reroll or reset a player. It will remove their inventory, achievements, etc. and teleport them far away to simulate a completely new world. This is great for hardcore style modpacks that don't want to create new worlds for every reset. It works in single player and on servers.

Feel free to include it in your modpack!

Mod integration

If you would like Reroll to integrate with another mod to reset its data, open an issue describing the mod and what you need to have reset.

reroll's People

Contributors

dark-arcana avatar timbroglio avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

reroll's Issues

Rerolling sometimes causes collision issues

Seems like roughly 5-10% my collision with the ground is slightly bugged, causing the player to be stuck in place and "jittering", breaking the block beneath fixes it. Might be that bumping up .25-.5 Y would fix it.

[Mod Compatibility] Elenai Dodge 2

Rerolling should reset the available feathers/dodges from Elenai Dodge 2. There is no command for it, but ED2 has an API to integrate it.

Feature: Teams

While you can reroll a single person or an entire server, sometimes people like to play in teams, so having something like FTB Teams support or the like would be useful.

Dice needs to be right clicked on a block to work

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Environment
Java Version:
Game Version: 1.12.2
Modpack:
Modpack Version:

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here. If there was a crash report or log file, share that using a pasting service like gist, pastebin, hastebin, or some other. Provide the link.

[1.12.2] Block Spawn seems to run every time the player changes dimension

Describe the bug
Block Spawn seems to run every time the player changes dimension. It tries to search for a suitable block to spawn the player per the cfg, fails to do so if that block isnt present in the dimension, and then proceeds to sometimes spawn the player in a wall.

To Reproduce
Steps to reproduce the behavior:
Enable block spawn and then change dimensions

Expected behavior
I imagine this feature should only occur on reroll and initial spawn in, not every time a player enters a dimension

Environment
Java Version:
Game Version: 1.12.2
Modpack: Trepidation

Improve reroll location validation

Currently, reroll loops from 0 to 255 in a given y position. It should be biased towards sea level. Loop over a range of values within a given distance from the sea level of the current world.

Feature: Mod should be able to function server-side only.

Currently, it's not possible to join a server running the mod, without the mod installed. I know that the in-game command autocomplete won't work without the mod installed, but it'd be nice to only need to add this to a server.

Possible Enhancements For Reroll (1-6)

  1. Can the Reroll be activated on death? (added)
    1a) If this is implemented can the KeepInventory game rule be used, if it is on?

  2. Can the inventory be put into a chest (possibly double chest) instead of being destroyed? (to possibly be found much later, if KeepInventory was off and no Grave mod was detected) (added 3/17/22)

  3. Can integration with with map mods to erase map data and waypoints? (like FTB Chunks, Xeno's maps, and Journeymap)
    3a) Can Chunk claims possibly be erased as well? (not high priority, since they are team based frequently)

  4. Can Ender chests be effected? (effected and configurable as of 3/17/22)

  5. Can Soulbound items be effected? (including the various sorts, since there are like 20 different types)

  6. Can Config options be added for the above? (as modpacks will want different things and most players will like more options anyways)

  7. Can a 1.18.1 version be made? (no need to rush as 1.18.1 and 1.18.2 are still a bit unstable at time of writing)

Mod Compatibility

2022-03-30_18_21_29-NBTExplorer

The above image contains a list of forge capabilities in ATM6. I'm creating this issue to make sure I don't lose the image as I work through adding compatibility for those mods.

Feature: Reroll All

Add some kind of /reroll all function, which takes every player on the server, moves them to the next Reroll spawn position, and resets them.

Feature: Reroll Lock

Add an additional command, something like /lockreroll true that permanently disables the reroll

I'm sure it could be disabled/enabled wholesale via config, but being able to enable/disable the entire mod by OP or server command could be useful.

Reason: I'm looking into future uses for this function beyond Trepidation. I think it'd be useful on multiplayer for people who want to "scout" a good spawn location for a community server, or the like. My vision is: You start up a new community server, you join as OP, you use /reroll to scout out spawn locations for the server, and once you've got a location you like for the world spawn, you can use /lockreroll to "set" that location as the permanent world spawn.

[1.16.5] Reroll cannot give its inventory upon reroll with custom list, no matter the config settings

Describe the bug
No matter what settings I use for wipeInventory etcetera, it will always wipe the player's inventory and give them nothing. initial inventory still works as expected on first join, however, meaning my list I parsed is legitimately functional.

Environment
Java Version: 8_u51 Oracle
Game Version: 1.16.5
Modpack: Kaleidio's Battle Pack 5.0.0-beta5 (dev instance, a simple expansion of beta 4 however)
Mod Version: 2.1.0

[1.12.2] Block Spawn spawns the player inside of the block

Describe the bug
The player is always spawned inside the block instead of on top of it, meaning that they get pushed away or sit inside of it

To Reproduce
Steps to reproduce the behavior:
Use block spawn in the cfg

Expected behavior
Spawn on top of the block

Environment
Game Version: 1.12.2
Modpack: Trepidation

Improve how a new position is determined

Currently, a new position is determined by finding a random number for x and z. Reroll should use an Archimedean Spiral algorithm that can relocate the player in a given distribution.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.