This is only a set of ideas. Nothing has been, and will be for the short term, set in stone. Looking on feedback on how to improve this.
A set of additions to Minecraft Forge
I expect this to go poorly considering that much of /r/sg's demographics are school going and thus best placed to benefit, but this has to be said. | |
Many, especially university students, will note this particular peculiarity in the concession pass system, where it is significantly cheaper to use only one mode of transport: | |
Pass | Cost | |
---|--- | |
Bus Concession Pass (BCP) |$55.50 | |
Train Concession Pass (TCP | $48.00 | |
Hybrid Concession Pass (HCP)* | $90.50 |
[12:31:57] [Netty Client IO #2/ERROR] [FML]: DimensionMessageHandler exception | |
java.lang.IllegalArgumentException: No enum constant net.minecraft.world.DimensionType.Overworld | |
at java.lang.Enum.valueOf(Unknown Source) ~[?:1.8.0_121] | |
at net.minecraft.world.DimensionType.valueOf(DimensionType.java:6) ~[atm.class:?] | |
at net.minecraftforge.common.network.DimensionMessageHandler.channelRead0(DimensionMessageHandler.java:36) ~[DimensionMessageHandler.class:?] | |
at net.minecraftforge.common.network.DimensionMessageHandler.channelRead0(DimensionMessageHandler.java:30) ~[DimensionMessageHandler.class:?] | |
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) ~[SimpleChannelInboundHandler.class:4.0.23.Final] | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [AbstractChannelHandlerContext.class:4.0.23.Final] | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [Abs |
<project | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.scala-lang</groupId> | |
<artifactId>scala-compiler</artifactId> | |
<packaging>jar</packaging> | |
<version>2.10.2</version> | |
<name>Scala Compiler</name> | |
<description>Compiler for the Scala Programming Language</description> |
Jul 04 16:10:24 <AbrarSyed> the context's are the only way I could think of to pass the PermSystem(implementation) any extra information asside from the node and user | |
Jul 04 16:10:51 <sk89q> it is the only way I have too, as well, but I don't think there should be static fields for | |
Jul 04 16:10:54 <sk89q> specific player/etc. | |
Jul 04 16:10:58 <sk89q> you should be able to attach other things | |
Jul 04 16:10:58 <AbrarSyed> the modders can use existing contexts, or create their own.. as long as they somehow use the provided interfaces | |
Jul 04 16:11:16 <AbrarSyed> because the provided interfaces are the only way the system will be able to acess that info | |
Jul 04 16:11:26 <AbrarSyed> static fields? | |
Jul 04 16:11:35 <sk89q> uh well I only glanced though | |
Jul 04 16:11:38 <sk89q> so ignore that but | |
Jul 04 16:11:40 <sk89q> I get what you are saying |
@SubscribeEvent | |
public void playerChangeDimension(PlayerChangeDimensionEvent e) | |
{ | |
Map<String, IContext contextInfo = new Map<String, IContext>(); | |
contextInfo.put("sourceWorld", getFactory.getDefaultContext(e.sourceWorld)); | |
contextInfo.put("targetWorld", getFactory.getDefaultContext(e.targetWorld)); | |
PermissionsManager.checkPerm(e.player, "protection.dimtravel", contextInfo); | |
} |
package net.minecraftforge.server; | |
import java.util.HashMap; | |
import java.util.Map; | |
import net.minecraft.command.ICommand; | |
import net.minecraft.command.ICommandSender; | |
import net.minecraft.entity.player.EntityPlayerMP; | |
import net.minecraftforge.permissions.api.PermissionsManager; |
package net.minecraftforge.permissions.api; | |
import java.util.List; | |
import java.util.UUID; | |
import net.minecraft.entity.player.EntityPlayer; | |
public interface Group { | |
/** |
Apr 29 17:15:20 <WizardCM> you guys aren't stealing login tokens, right? ;) | |
Apr 29 17:16:12 <Heufy|Work> Check the source code and see for yourself? :P | |
Apr 29 17:16:23 <x8uurg> ^ :P | |
Apr 29 17:16:46 <WizardCM> :P | |
Apr 29 17:16:56 <Heufy|Work> This is why open source software is nice | |
Apr 29 17:19:21 <Grum> this is why opensource is bad | |
Apr 29 17:19:45 <Grum> because it makes it trivial for someone to take your code modify it and have it do just the thing you dont want to while still pretending to be build from the same source | |
Apr 29 17:20:12 <x8uurg> Well, that pretending can be solved using certificates | |
Apr 29 17:20:29 <peterix> Grum, your launcher is open source too | |
Apr 29 17:20:33 <peterix> it's in java |
---- Minecraft Crash Report ---- | |
// Surprise! Haha. Well, this is awkward. | |
Time: 12/22/13 2:50 PM | |
Description: Ticking screen | |
java.util.NoSuchElementException: key not found: codechicken.lib.vec.BlockCoord@ffff847d | |
at scala.collection.MapLike$class.default(MapLike.scala:228) | |
at scala.collection.AbstractMap.default(Map.scala:58) | |
at scala.collection.mutable.HashMap.apply(HashMap.scala:64) |