Jump to content

Recommended Posts

Posted

Hi,

 

As Co-Admin on a FTB Bukkit server I found it always difficult tu limit the use of certain items like the Mining Laser or other mod functions. In my opinion, it would work a lot better if the mod authors would use some kind of permissions system. However, there is no universal permissions api forge mods could use.

 

So my suggestion would be: A Forge Permissions API. I thought about something like this:

 

If a mod wants to check a permission, it posts a PermissionEvent (containing the permission id and the player to check for) to a special permissions event bus. Subscribers to the event can now check whether the player has that permission and set the event's result accordingly.

 

Additionally, one could also post location-based permission event, so items like the Wand of Equal Trade would be limited to the user's own regions.

 

This api doesn't have to define an interface for modifying permissions, that's up to the implementors.

 

 

I think this should be in forge as it would encourage it's use. It's comparable to bukkit where there was a big chaos in permissions too until they included the unified permissions api.

Posted

Hmm, that sounds more like a coremod (or maybe just a mod; I'm not sure that needs to be a coremod) API, rather than a part of Forge. "I think this should be in forge as it would encourage it's use" seems to me to be a bad idea; if such a situation with competing APIs arises it would not be the responsibility of Forge to solve it.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Posted

If you say that, you could say the same about the ore dictionary. After all, it is just about resolving conflicting apis too. And I doubt it would be as widely used as it is now if it was a seperate mod.

Posted

I would disagree. Right now my biggest annoyance with trying to implement some functionality and bukkit like features for multiplayer servers using Forge has to be the lack of a perm system of any kind. The idea is not necessarily to create a single perm manager I think, but rather something along the lines of

 

http://jd.bukkit.org/rb/apidocs/

 

To IMPROVE intermod cooperation. I mean, it's really just a logical extension of what is already included in theory to handle such matters: the fake player class. It's already an issue I would say right now because several mods have 'rolled their own' system so to speak (such as those which let a machine's access be potentially limited) and Forge Essentials attempts to add a Permissions system AND Manager, but as it stands right now there is no single accepted outline let alone system for things like, say, a factions mod that would actually work in the expected fashion in a Forge modded server. And with the new 'block broken' and 'block placed' events likely to be added soon, there's less excuse than ever to not support a basic perm system. Forge doesn't have to include full perm control or anything, just a unified system for something to say "Hey! I'm about to do something and I think this might need permission", configuration and actual modification and input of perms and all that can be handled by an external program even.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Update: I stand corrected as I was able to dig up a relevant log from my earlier testing which highlights the overall issue but does not explain how to solve it. See, Diagnostic Logs for pack.mcmeta not found: https://pastebin.com/LXS8Rtna
    • Which mod was this? What are all the mods that were in use? It will help if enough information to replicate the problem is available.
    • I have been attempting to create a supplementary resource pack with Patchouli in order to add back the guidebook for Better End but unfortunately in every prototype I have made pack.mcmeta and my resource pack are not recognized. I have tested both zipped and unzipped and either way curseforge does not recognize my resource pack as existing. For testing I stripped my pack down to just the pack.mcmeta file and two empty folders labelled data and assets and I know the data folder is not the problem as firstly my first attempts just had an assets folder following Patchouli instructions and data came later in my flailing attempts to make anything in my pack work. The mcmeta file is not recognized whether or not I use this:  { "pack": { "pack_format": 15, "description": "A replacement for the BetterEnd Guide Book." } "language": { "en_US": { "name": "English", "region": "United States" } } } ,or this:  { "pack": { "pack_format": 15, "description": "A replacement for the BetterEnd Guide Book." } } I have made sure to only use lowercase and the pack folder is named better-end-guide. Is this some magic nonsense from me doing this manually instead of using an IDE or similar tool? Could it be because my files are by default in UTF-8 even though ANSI gives the same results? Is there a specific community secret tool I am supposed to use for zipping or specific settings? I am pulling my hair in distress. Unfortunately as there are no errors involved I lack logs to offer, if that disqualifies this thread please do not be harsh and instead if you can then please direct me to a forum with different rules and sufficiently respectful but knowledgeable as to be of assistance. Most of my experience with the programming community has been poor and so naturally I find myself wary.
    • I never picked up a tier 0 dragon skull to my knowledge. One of my other skulls must have bugged out and randomly became one. I was confused on what the heck it was and tried placing it, now the game will only crash because it can't render in whatever the heck the tier 0 skull is. This is on a server and it crashes anyone within render distance.
    • After setting up forge, making sure my drivers are updated, and downloading the create mod i tried to run forge and it said it crashed while trying to render the overlay, i heard about deleting a file called forge-client.toml, but when i looked at the config files(and all the files on my computer) it was nowhere to be found. https://pastebin.com/raw/TTyWWyeS
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.