Giter VIP home page Giter VIP logo

dimensionstages's Introduction

Dimension Stages

This mod hooks in to the GameStage API, and allows access to dimensions to be restricted based on the stages a player has unlocked.

Documentation

You are intended to use CraftTweaker to configure this mod. An example script file can be found here.

By default all dimensions are unstaged meaning they will function like normal until you stage them using a script. To stage a dimension you will need the ID of the dimension and the stages you want to require. You can specify any number of stages.

// Requires stage "one" and "two" to enter the nether.
// DimensionStages.stageDimension(dimensionId, stages);
DimensionStages.stageDimension("minecraft:the_nether", "one", "two");

Additionally you can specify a Message that will be displayed to players when they are prevented from entering a dimension.

// Requires stage "one" and "two" to enter the end.
// DimensionStages.stageDimensionWithMessage(dimensionId, message, stages);
DimensionStages.stageDimensionWithMessage("minecraft:the_end", "Access Denied!", "one", "two");

Maven Dependency

If you are using Gradle to manage your dependencies, add the following into your build.gradle file. Make sure to replace the version with the correct one. All versions can be viewed here.

repositories {

    maven { url 'https://maven.blamejared.com' }
}

dependencies {

    // Example: compile "net.darkhax.dimstages:DimensionStages-1.16.5:3.0.1"
    compile "net.darkhax.dimstages:DimensionStages-MCVERSION:PUT_VERSION_HERE"
}

Jar Signing

As of January 11th 2021 officially published builds will be signed. You can validate the integrity of these builds by comparing their signatures with the public fingerprints.

Hash Fingerprint
MD5 12F89108EF8DCC223D6723275E87208F
SHA1 46D93AD2DC8ADED38A606D3C36A80CB33EFA69D1
SHA256 EBC4B1678BF90CDBDC4F01B18E6164394C10850BA6C4C748F0FA95F2CB083AE5

Sponsors

This project is sponsored by Nodecraft. Use code Darkhax for 30% off!

dimensionstages's People

Contributors

darkhax avatar jaredlll08 avatar jriwanek avatar remplerus avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dimensionstages's Issues

I know this is not an issue but...

can some kind hearted soul please tell me how i can restrict access to "The Abyss" untill the ender dragon has been slain?

im a complete noob at coding sorry

[QUESTION] [1.20.1]

Question

well I just wanted to see if there is any interest in this being updated.

Issue with BNBCore/BNBLib and DimensionStages

Hello. I have problem with DimensionStages and BNBGaming Core/Lib, Minecraft keeps crashing on generating a new world even after i fully removed modified configs and removed all scripts from modpack.
DimensionalControl-1.12.2-2.10.2
BNBGamingLib-1.12.2-2.17.0 (Tried stable 2.16.0)
BNBGamingCore-1.12.2-0.10.0
latest.log

Conflict with Draconic Evolution

Modpack: Modern Skyblock 3 v3.4.2
Dimension Stages Version: 1.12.2-2.0.20
Draconic Evolution Version: 1.12.2-2.3.13.306

When dimension stages is enabled, on a multiplayer server in survival mode, key items cannot be placed into fusion injectors. As in this pack, said items are behind stages, I believe some option in dimension stages is broken. I cannot find the config for this mod, despite the mod commands implying there should be one.

As this mod is not particularly relevant to anyone playing on the server I'm on, it will be left removed.

1.18.2

Any chance this will get updated?

Does Not Work With Aether Legacy

So, it seems that even though I have:
mods.DimensionStages.addDimensionStage("a", 4);

I can walk through the portal to the Aether without having that stage.

It is Server Side ?

Hello,
I have a server and I want that my player have a restricted acces to the nether and other's dimensions, but It's just for the server. It's possible to download it just on the server ?
Second question, does it work with other's modded dimensions ?

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.