This meant all people who used electronic gaming machines would set the number of hours they would gamble for over a day or a week, or the upper limits which they would spend. If these limits were exceeded, the machine they were using would automatically shut down.
Ms Roche claimed that responsible gamblers would not notice the difference, but the measure would "act as a brake" for people who were susceptible to becoming problem gamblers.
"It's an ambulance at the top of the cliff, rather than cleaning the mess up afterwards."
The cost of introducing pre-commitment technology was estimated at up to $2 per machine, per day, and would be rolled out in 2017.
Greens would also make player tracking compulsory, and require gaming machines to display the odds of winning and a timer which showed how long a person had been gambling.
The party would target the direct, individualised marketing that gambling venues used to encourage gambling.
Ms Roche said: "SkyCity keep a record of their loyalty customers, so once they start to drop off they tend to induce them to come back with things like free parking, free coffees, free drinks.... and they do it a lot."
Pre-commitment cards were originally part of a Maori Party gambling bill which passed into law last month, but the measure was removed at the select committee stage.
Green Party gambling policy
• Compulsory pre-commitment cards for all electronic gaming machines from 2017
• Ban on direct advertising and perks for problem gamblers
• Strengthen oversight of the Gambling Commission